METHOD AND ILLUMINATION DEVICE OF THE ADAPTIVE OPTICS IN TRANSMISSION OR REFLECTION MICROSCOPY
20230273418 · 2023-08-31
Assignee
Inventors
Cpc classification
G02B21/365
PHYSICS
G02B27/0933
PHYSICS
G02B21/361
PHYSICS
G02B21/008
PHYSICS
International classification
Abstract
A method for optimizing parameters of a physical light propagation model includes providing a physical model of a light propagation in an optical system, radiating an input light distribution using an illumination unit into an excitation path of the optical system, traversing the input light distribution through a scattering body, wherein the scattering body is arranged in the excitation path of the optical system and modifies the input light distribution to form a transmission light distribution to form a reflection light distribution, recording the transmission light distribution or the reflection light distribution, transferring the recorded transmission light distribution or the recorded reflection light distribution to the physical model, and computing transmission distortion parameters of the physical model based on the recorded transmission light distribution or the recorded reflection light distribution. The transmission distortion parameters characterize the scattering body.
Claims
1-11. (canceled)
12: A method for optimizing parameters of a physical light propagation model, the method comprising: providing a physical model M.sub.light of a light propagation in an optical system; radiating an input light distribution I.sub.0 using an illumination unit into an excitation path of the optical system; traversing the input light distribution I.sub.0 through a scattering body, wherein the scattering body is arranged in the excitation path of the optical system and modifies the input light distribution I.sub.0 to form a transmission light distribution I.sub.TR or I.sub.0 to form a reflection light distribution I.sub.RE; recording the transmission light distribution I.sub.TR or the reflection light distribution I.sub.RE; transferring the recorded transmission light distribution I.sub.TR or the recorded reflection light distribution I.sub.RE to the physical model M.sub.light; and computing transmission distortion parameters V.sub.TR of the physical model M.sub.light based on the recorded transmission light distribution I.sub.TR or the recorded reflection light distribution I.sub.RE, wherein the transmission distortion parameters V.sub.TR characterize the scattering body.
13: The method as recited in claim 12, wherein, the physical light propagation model is a light propagation model in laser microscopy in a scanning method, and the light propagation in the optical system is a light propogation in a microscope.
14: The method as recited in claim 12, wherein the recording of the transmission light distribution I.sub.TR is performed using a camera.
15: The method as recited in claim 14, wherein the recording of the transmission light distribution ITR using the camera is performed at a virtual location of a sample.
16: The method as recited in claim 12, wherein an n-fold transmission light distribution data set n-I.sub.TR is generated by an n-fold variation of the input light distribution I.sub.0.
17: The method as recited in claim 12, wherein, the physical model M.sub.light is provided on a computer unit, and the computing of the transmission distortion parameters V.sub.TR of the physical model M.sub.light based on the recorded transmission light distribution I.sub.TR is performed automatically via an algorithm implemented on the computer unit.
18: The method as recited in claim 12, wherein a mathematically differentiable model M.sub.light is used as the physical model M.sub.light of the light propagation.
19: The method as recited in claim 12, further comprising: reflecting the transmission light distribution I.sub.TR at a location of the sample using a reflective material so that the transmission light distribution I.sub.TR again traverses the scattering body and is modified to form a reflection light distribution I.sub.RE; and recording the refection light distribution I.sub.RE.
20: The method as recited in claim 19, wherein the reflective material is a mirror.
21: The method as recited in claim 19, further comprising: computing reflection distortion parameters V.sub.RE of the physical model M.sub.light based on the recorded reflection light distribution I.sub.RE.
22: An irradiation device for performing the method as recited in claim 12, the irradiation device comprising: a microscope comprising, an illumination unit which is designed to generate a light distribution I.sub.0, and an excitation path comprising a scattering body which is arranged in the excitation path, the excitation path being configured to guide the light distribution I.sub.0 to a location of a sample; a camera which is configured to record a transmitted light I.sub.TR; and a computer unit comprising an algorithm implemented thereon, wherein, a physical model M.sub.light of a light propagation in the irradiation device is provided on the computer unit, and the algorithm implemented on the computer unit is configured to compute transmission distortion parameters V.sub.TR of the physical model M.sub.light based on the physical model M.sub.light and the transmitted light I.sub.TR.
23: The irradiation device as recited in claim 22, wherein, the illumination unit is a laser, and the transmitted light I.sub.TR is at the location of the sample.
24: A method for correcting distortions of a light distribution during passage through an optical system which comprises a scattering body, the method comprising: extracting a transmission distortion parameter V.sub.TR as computed in claim 12; and setting a complementary distortion pattern V.sub.TR.sup.# on an optical modulator of an excitation path, wherein, the optical modulator is arranged in a beam direction before the scattering body.
25: The method as recited in claim 24, wherein the method is performed in a laser microscopy in a scanning method during an irradiation of a sample.
26: The method as recited in claim 24, wherein, in addition to extracting the transmission distortion parameter V.sub.TR, a reflection distortion parameter V.sub.RE is extracted by computing reflection distortion parameters V.sub.RE of the physical model M.sub.light based on the recorded reflection light distribution I.sub.RE, and a complementary distortion pattern V.sub.RE.sup.# is set on a further optical modulator in a detection path.
27: An irradiation device for performing the method as recited in claim 24, the irradiation device comprising: a microscope comprising, an illumination unit which is configured to generate a light distribution I.sub.0, and an excitation path comprising a scattering body which is arranged in the excitation path, the excitation path being configured to guide the light distribution I.sub.0 to a location of a sample; an optical modulator arranged in the excitation path in a light propagation direction before the scattering body; and a computer unit which is configured to, control the optical modulator, to extract transmission distortion parameters V.sub.TR from the physical model M.sub.light of the light propagation in the irradiation device, and to set the optical modulator using a complementary distortion pattern V.sub.TR.sup.# correcting distortions of the scattering body.
28: The irradiation device as recited in claim 27, wherein, the illumination unit is a laser.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The present invention is described in greater detail below on the basis of embodiments and of the drawings in which:
[0013]
[0014]
[0015]
DETAILED DESCRIPTION
[0016] According to a first aspect of the present invention, a method for optimizing parameters of a physical light propagation model, in particular a light propagation model in (confocal) laser microscopy in the scanning method is provided, which comprises the following steps: [0017] a) Providing a physical model M.sub.light of the light propagation in an optical system, in particular the light propagation in a microscope. Various physical models which are capable of describing a light propagation in optical systems can in principle be used for this purpose. Models of light propagation are mentioned as examples, which are described by matrix optics or by methods of wave optics. Providing the physical model in both cases results in an “information yield”, since at least an undisturbed light propagation in the ideal case (for example, in the ideal case of the geometrical optics) is described by the models; the model M.sub.light can, for example, have at least partially prior information about the optical system, this prior information can be made known in the form of parameters. Such parameters also offer the advantage that they can be adapted; the model M.sub.light is thus in particular to be delimited from solely neural models which generally have no items of prior information and the linkages of which are first formed by training. As a technical effect, an information yield is achieved by the model M.sub.light of the light propagation in that numerous items of information about the optical system can already be used in that they are made known by the model M.sub.light. This information yield makes a computation of distortion parameters significantly more efficient than the approaches of describing light propagation by machine learning. [0018] b) Radiating an input light distribution I.sub.0 using an illumination unit into an excitation path of the optical system. The input light distribution I.sub.0 is typically radiated in using a laser beam having a Gaussian intensity profile which can be focused particularly advantageously in the optical system. A sample can be examined, for example, using the optical system. The light path which leads to a sample of the optical system is hereinafter designated as the excitation path, since the sample, when it is irradiated using the light distribution I.sub.0, is quasi-“excited” to illuminate as a “secondary light source”. The term excitation path is thus not to be understood to mean that the optical light path which leads to the sample is “excited”. The input light distribution I.sub.0 can, for example, be known and defined. [0019] c) Traversing the light distribution I.sub.0 through a scattering body, wherein the scattering body is placed in the excitation path of the optical system and modifies the input light distribution I.sub.0 to form a transmission light distribution I.sub.TR or I.sub.0 to form a reflection light distribution I.sub.RE. The scattering body results in a distortion of the input light distribution I.sub.0 and modifies it to form the transmission light distribution I.sub.TR. The scattering body can to a certain extent be viewed as the element which converts the ideal light propagation according to the physical model M.sub.light into a real light propagation always having more or less strong distortions. Specifically, the scattering body can represent a distortion in the transmission of the input light distribution I.sub.0 up to a target point/target plane within a sample, wherein the target point/the target plane is to be examined or processed, respectively. [0020] d) Recording the transmission light distribution I.sub.TR or the reflection light distribution I.sub.RE. The transmission light distribution I.sub.TR can be recorded directly at a location of the hypothetical sample or can be recorded via mirrors and/or beam splitters at another location using a recording unit. It is in principle possible that the recording unit records the intensity distribution and/or the phase distribution of the transmission light distribution I.sub.TR. The reflection light distribution I.sub.RE can be guided through the optical system and in principle recorded in any focal plane, for example, at the focal plane in which the sample is actually to be observed in later applications. [0021] e) Transferring the recorded transmission light distribution I.sub.TR or the reflection light distribution I.sub.RE to the model M.sub.light. The known input light distribution I.sub.0 can also be transferred to the M.sub.light, by which further items of information are provided. [0022] f) Computing transmission distortion parameters V.sub.TR of the model MR& based on the recorded transmission light distribution I.sub.TR, the known input light distribution I.sub.0, and/or the reflection light distribution I.sub.RE, wherein the transmission distortion parameters V.sub.TR in particular characterize the scattering body. V.sub.TR can also be computed if only the reflection light distribution I.sub.RE is known in that the distortion parameters of the transmission and the reflection are reflected quasi-simultaneously. A computation on the basis of I.sub.TR supplies more accurate results.
[0023] The advantage is thereby achieved that, due to the physical model M.sub.light of the light propagation in the optical system, numerous items of information about the optical system are provided quasi “a priori” and can be used in the computation of the transmission distortion parameters V.sub.TR in order to make this computation significantly more efficient than using conventional approaches of “machine learning” (in particular via neural networks). The conventional “machine learning” requires a very large amount of training data, in particular in the case of large distortions by the scattering body, and also because the neural networks used have no items of information about the underlying optical system and must additionally quasi model it. Due to the combination according to the present invention of a “machine learning” environment with the items of information about the optical system which are provided by the physical model M.sub.light, it is possible to determine the transmission distortion parameters V.sub.TR significantly more efficiently using a much smaller set of measurement data or training data, respectively. The method also offers the advantage that no artificial “Zemike modes” are used to find the distortions, but rather a real scattering body which can, for example, also be used in later applications. If the transmission distortion parameters V.sub.TR are known, it can be determined how a light beam moves in the transmission direction through the optical system and which distortions it experiences during this passage.
[0024] According to one aspect of the present invention, the transmission light distribution I.sub.TR is recorded using a camera at a possible location of a sample. A CCD camera or a CMOS camera can be used for this purpose. Multiple cameras could also be used which have a slightly different focal plane in order to obtain additional information. Both camera types listed as examples are distinguished by a high spatial resolution. The higher the spatial resolution of the camera used is, the more items of information can be recorded about the optical system and the more accurately the transmission distortion parameters V.sub.TR can be calculated. A camera is only required in the reflection path for reflection experiments. Reflection experiments are an important configuration for applications in microscopy since, in this case, a focus within a scattering body is viewed as reflected light.
[0025] An n-fold transmission light distribution data set; n-I.sub.TR, can, for example, be generated by an n-fold variation of the input light distribution I.sub.0. This has the advantage that the transmission distortion parameters V.sub.TR can thereby be computed significantly more accurately, since, if only a single constant input light distribution I.sub.0 is radiated in, possible variations of the optical system are not adequate to sufficiently characterize the scattering body. This is in particular the case if intensities other than the input light distribution I.sub.0 are also to be used for later applications. In particular in the event of a strong variation of the amplitude of the intensity of the input light distribution I.sub.0, higher-order optical effects can occur within the scattering body, which can be characterized by a data set n-I.sub.TR. It is to be noted that the resulting amount of the data set n-I.sub.TR is significantly less than in the above-described conventional “machine learning” methods.
[0026] The light distribution is expediently varied via a spatial light modulator (SLM) which modulates the profile of the light beam. The control of the phase and intensity of the light beam is of great importance for many applications. The SLM can, for example, be based on liquid crystals and is in particular used for phase modulation. It is in this case expedient to use phase patterns for training the neural network. Alternatively thereto, the spatial light modulator can be a digital mirror for generating a binary intensity pattern. Known high-speed digital mirrors (“high-speed digital micromirror device”, DMD) can generate binary patterns of high and low values (ones and zeros) at an image frequency of 22.7 kHz. If a continuous wave laser is thus, for example, used which continuously radiates onto the digital mirror, an n-tuple (I.sub.Ei, I.sub.Ai) can be generated at this frequency. This DMD can also be used to generate phase patterns. It is in principle possible to vary multiple light parameters (intensity, phase, and polarization) simultaneously using a combination of multiple optical modulators or using one modulator, in order to obtain the best possible control over the light distribution. The method thereby becomes even more flexible and accurate.
[0027] The model M.sub.light can, for example, be provided on a computer unit, and an algorithm implemented on the computer unit automatically computes the transmission distortion parameters V.sub.TR.
[0028] This offers the advantage that the method for computing the transmission distortion parameters V.sub.TR can be carried out quickly, efficiently, and automatically, so that a user need not necessarily be present when carrying out the required experiments.
[0029] In an embodiment of the present invention, a differentiable model can, for example, be used as the physical model M.sub.light of the light propagation.
[0030] A differentiable, thus in particular analytically differentiable model offers the advantage of smaller errors and fewer computing steps than would be the case with numeric methods. To find the parameters of the model, in particular the distortion parameters V.sub.TR, the parameters of the model are “changed” until the model describes the measured data set, and thus the recorded transmission light distribution I.sub.TR, as well as possible. This optimization problem can be solved by finding a minimum of the first derivative of the differentiable model. The differentiable model maps input and output of the optical system. An automated differentiation can in particular be carried out which is part of frameworks of “machine learning” such as Tensorflow. The automatic differentiation is used in these frameworks to compute gradients to optimize a loss function with respect to parameters of interest. The loss function compares the model output to a target output, and the discrepancy is minimized by adapting the model parameters.
[0031] The transmission light distribution I.sub.TR can, for example, be reflected at the virtual location of the sample using a reflective material, in particular a mirror, so that it again traverses the scattering body, and is modified to form a reflection light distribution I.sub.RE and recorded as I.sub.RE. The reflective material can also be inside the scattering body; only the origin of the reflected light from the location of the sample must be able to be detected.
[0032] The mirror which is placed instead of the sample at the location of the sample only has the task of reflecting the light I.sub.TR back. Instead of a mirror, a real sample could also be used. As is typical in optics, beams are both scattered and also reflected in the material in a specific relative ratio. It is thus essential for this embodiment that a reflection light distribution I.sub.RE is obtained and, as described above in conjunction with I.sub.TR, is recorded by cameras. The above-described scattering body and the mirror can thus be replaced by a real sample which reflects a part of the light similar to a mirror. In the case of the reflected light, both the transmission distortion parameter V.sub.TR and the reflection parameter V.sub.RE must be determined simultaneously. The model M.sub.light is adapted for this purpose so that both unknown distortion parameters are determined simultaneously. For this purpose, the model M.sub.light is expanded so that both the excitation path and the detection path are described in the model. The two distortion parameters are used in the excitation path and in the detection path as unknown parameters to be optimized. Both distortions are found at the same time in the same manner as previously described for the transmission distortion parameter, wherein, as in the transmission using an n-fold variation of the input light distribution I.sub.0, however, an n-fold reflection light distribution data set, n-I.sub.RE, is now generated. The model M.sub.light is adapted with the aid of this data set in the same manner as described for the transmission configuration.
[0033] This offers the advantage that the distortions can also be measured in a reflection path, which is also designated as a detection path. In microscopy, samples are often observed in reflection, i.e., an observer observes the light reflected back from the sample. The distortions in the excitation path and in the detection path are generally not identical, so that both the reflection light distribution I.sub.RE and the transmission light distribution I.sub.TR must be detected in order to be able to determine the distortions in both paths.
[0034] In addition to the transmission distribution parameters V.sub.TR, reflection distortion parameters V.sub.RE of the model M.sub.light can, for example, be computed based on the recorded reflection light distribution I.sub.RE. To determine V.sub.TR and V.sub.RE, it is sufficient to record only I.sub.RE and as a result to optimize the model with respect to both distortion parameters.
[0035] This offers the advantage that the adapted parameters of the optical model M.sub.light can describe or model, respectively, both the transmission and the reflection of the light beam. This information can in particular be used for applications in reflection microscopy.
[0036] An n-fold reflection light distribution data set, n-I.sub.RE, can, for example, be generated by an n-fold variation of the input light distribution I.sub.0. An arbitrary reflective or backscattering sample can be used for this purpose; only the origin of the scattered light behind or within a scattering body must be able to be determined. This results in a similar advantage to that explained above in conjunction with the data set n-I.sub.RE.
[0037] The model M.sub.light can, for example, be provided on a computer unit, wherein the algorithm implemented on the computer unit simultaneously computes the transmission distortion parameter V.sub.TR and the reflection distortion parameter V.sub.RE automatically with the aid of only the reflection light distribution data set.
[0038] According to a second aspect of the present invention, an irradiation device is provided, wherein the irradiation device, in particular a laser reflection microscope, is suitable for carrying out one of the above-described methods. The irradiation device includes: [0039] a microscope comprising, [0040] an illumination unit, in particular a laser, designed to generate a light distribution I.sub.0, and [0041] an excitation path having a scattering body “A” provided in the excitation path, [0042] wherein the excitation path guides the light distribution I.sub.0 to the location of a sample; [0043] a camera, which records the transmitted light, in particular at the location of a sample, as I.sub.TR; and [0044] a computer unit, wherein, the above-described physical model M.sub.light of the light propagation in the irradiation device is provided on the computer unit, and, wherein, an algorithm implemented on the computer unit is configured to compute transmission distortion parameters V.sub.TR of the model M.sub.light based on M.sub.light and I.sub.TR.
[0045] The advantage is thereby achieved that a computation of the transmission distortion parameters V.sub.TR can be executed significantly more efficiently by the irradiation device than using conventional technologies of “machine learning”. The “real scattering body” enables generation of distortion parameters which is not only hypothetical. In that an additional camera is provided, which is configured to record the reflected light I.sub.TR, a correspondingly adapted device additionally enables the reflection distortion parameters V.sub.RE to be computed, as described above.
[0046] According to a third aspect of the present invention, a method for correcting distortions of a light distribution I.sub.1 upon passage through an optical system having a scattering body, in particular in laser microscopy in the scanning method when irradiating a sample, is provided. The method includes the following steps: [0047] a) extracting a transmission distortion parameter V.sub.TR as described above; and [0048] b) setting a complementary distortion pattern V.sub.TR.sup.# on an optical modulator, in particular an SLM, of the excitation path (10), wherein, the optical modulator is arranged in the beam direction upstream of the scattering body. The complementary distortion pattern V.sub.TR.sup.# is based on the complexly conjugated pattern to V.sub.TR.
[0049] The method can, for example, be modified if distortions are to be corrected in which the light distribution I.sub.1 is additionally distorted in the reflection path and the light distribution I.sub.1 is to be observed, for example, after the reflection at the sample with the best possible resolution. In this case, an extraction of the transmission distortion parameter V.sub.TR and simultaneously a reflection distortion parameter V.sub.RE take place, wherein only the reflection light distributions are recorded in the corresponding measurements—for example, without measurement of the transmission light distributions.
[0050] In this case, this is in particular the same scattering body or at least a scattering body having similar optical properties as the scattering body using which V.sub.RE and/or V.sub.TR were computed.
[0051] If the light distribution I.sub.1 is now radiated into the optical system in a next step, the light distribution I.sub.1 is modified beforehand by the distortion pattern V.sub.TR.sup.# set on the optical modulator so that the distortion V.sub.TR subsequently caused by the scattering body is compensated for so that in the ideal case, a light distribution arrives at the location of the sample which corresponds to the irradiated light distribution I.sub.1. The optical distortions of the scattering body are thus effectively corrected, which is particularly advantageous for many applications. Applications comprise all situations which can profit from the control of a light distribution within or through a scattering body, for example, in microscopy using reflected light or using fluorescent light or other contrast methods. A further example is cutting tissue or bones with the aid of laser surgery. In this case, for example, imaging or diagnostics using the microscope could be combined with cutting using the laser in the same device, wherein only the intensity or wavelength would need to be adapted. Macroscopic applications are also conceivable, for example, optical signal transmission through scattering materials such as fog.
[0052] Upon the exit from the sample, the light distribution I.sub.1 is again distorted by scattering effects corresponding to the factor V.sub.RE, which are again compensated in that a further optical modulator is arranged in the reflection path in the beam direction after the exit of the light from the sample. The complementary distortion pattern V.sub.RE.sup.# is accordingly set on the further optical modulator to compensate for the optical distortions V.sub.RE. This method enables the distortions induced by the sample to be substantially corrected and the image of the sample to be able to be detected at a high resolution or to be able to irradiate a sample using a defined spatially resolved intensity.
[0053] According to a fourth aspect of the present invention, an irradiation device is provided, wherein the irradiation device is configured to correct distortions of a light distribution I.sub.1 upon passage through an optical system having a scattering body according to one of the above-described methods. The irradiation device, a laser reflection microscope, includes: [0054] a microscope comprising, [0055] an illumination unit, in particular a laser, designed to generate a light distribution I.sub.0, and [0056] an excitation path having a scattering body A provided in the excitation path, wherein, the excitation path guides the light distribution I.sub.0 to the location of a sample. In this case, this is in particular the same scattering body or at least a scattering body having similar optical properties as the scattering body using which V.sub.RE and/or V.sub.TR were computed; [0057] an optical modulator (30) which is provided in the excitation path before the scattering body in the light propagation direction; and [0058] a computer unit configured to control the optical modulator, wherein, the computer unit is configured to extract transmission distortion parameters V.sub.TR from a physical model M.sub.light of the light propagation in the irradiation device and to set the optical modulator using a complementary distortion pattern V.sub.TR.sup.# correcting the distortions of the scattering body.
[0059] The illumination device can, for example, additionally include a further optical modulator in the reflection path after the exit of the light from the sample, wherein the complementary distortion pattern V.sub.RE.sup.# is set on the further optical modulator.
[0060] Using this illumination device, distortions of a light beam during the passage through the optical system during the transmission, in particular distortions caused by the scattering body, can be effectively reduced. The further optical modulator effectively corrects a distorted image of a sample in reflection microscopy so that an image of the sample can be recorded at a higher resolution by the microscope.
[0061] Numerous features of the present invention are explained in more detail hereinafter on the basis of below exemplary embodiments with reference to the appended drawings. The present disclosure is thereby not restricted here to the specifically mentioned combinations of features. The features here mentioned may much rather be combined arbitrarily to form embodiments according to the present invention unless expressly precluded below.
[0062]
[0063] The present invention provides a model optimization strategy for adaptive optics. The light propagation through an optical system 100 (the optical system is in particular a laser reflection microscope) is described, including the unknown aberrations represented as parameters, by a differentiable model M.sub.light. To adapt the input-output behavior of the computing model M.sub.light to the experimental structure, a large number of output images are recorded, which result from corresponding input phase modulations. These input phase modulations are generated in that first an input light distribution I.sub.0 110 is generated by a laser 115 and then conducted to a first spatial light modulator (SLM) 120. Various patterns are played on the SLM for the respective experimental passes, which cause an input phase modulation of the input light distribution I.sub.0 110. As will also be shown in detail, the model parameters are optimized using the program “Tensorflow”. In particular, distortion parameters of the transmitted light V.sub.TR and the reflected light V.sub.RE due to the scattering body are found, which permit an accurate description of the scattering body.
[0064] The experimental structure is schematically shown in
[0065] The part of the transmission light distribution I.sub.TR which is not guided by the third beam splitter 145 into the first camera 150 can be reflected by a mirror 155 in a sample plane, if this is provided in the structure, and traverses the scattering body A 140 again in the reflection direction. The mirror is used only as a possible substitute for an arbitrary sample. Instead of a mirror, any arbitrary other material can also be used at this point, the only condition is that the material reflects light. To restrict the origin of the reflected light, the method can also be combined with other methods which effectuate this (for example, with confocal microscopy or with interferometric methods such as “coherence gating”). The transmission light distribution I.sub.TR thereby experiences a renewed distortion due to the scattering body A 140, in this case a reflection distortion V.sub.RE, and is changed to form the reflection light distribution I.sub.RE. The second beam splitter 135 guides the reflection light distribution I.sub.REn into a second camera 160, wherein the second camera 160 records a reflection light distribution I.sub.RE with respect to its spatial intensity. A correction of the reflection distortion V.sub.RE can be executed by a second spatial light modulator 165, which is implemented in the beam path before the second camera 160.
[0066] To optimize the parameters of the model M.sub.light, the first camera 150 and the second camera 160 can be connected directly to a computer unit 170 and can transmit their respective measurements to the computer unit 170. The model M.sub.light and a corresponding algorithm for computing the parameters are provided on the computer unit 170, so that the measurement of the cameras can be transferred directly as an input to the algorithm.
[0067] The lenses 175, 180 provided in the optical system are used for beam guiding or beam focusing.
[0068] The model M.sub.light is described in detail hereinafter in an embodiment.
[0069] Light which passes through the optical system 100 is described by a complex amplitude U(x,y,z), which is initialized by U.sub.0=U(x, y, 0). This complex amplitude passes through a sequence of planar phase objects and propagates in between in a free space along the optical axis (z axis; x, y, z are spatial coordinates). A wavefront U(x,y,d) which interacts with a phase object φ(x,y,d) in the plane D can be described by the following multiplication:
U(x,y,d)exp[iϕ(x,y,d)] (1)
[0070] The propagation of the wavefront in the free space over a distance d is computed with the aid of the angle spectrum method using the following operator:
U(x,y,z+d)=P.sub.d(U(x,y,z))=∫∫A(f.sub.X,f.sub.Y;z)circ(√{square root over (λf.sub.X).sup.2+(λf.sub.Y).sup.2)})×H exp[i2π(f.sub.Xx+f.sub.Yy)]df.sub.Xdf.sub.Y. (2)
[0071] with A(f.sub.X,f.sub.Y;z) as the Fourier transform of U(x,y,z),f.sub.X and f.sub.Y are spatial frequencies and the circ function is 1 within a radius in the argument and outside 0; and H(f.sub.X,f.sub.Y)=
is the optical transfer function.
[0072] The intensities which are recorded by the cameras 150, 160 result as
I(x,y,z)=|U(x,y,z)|.sup.2. (3)
[0073] For a single transmission pass, the optical system is described by the following function:
S(ϕ.sub.SLM,ϕ.sub.aberration)=|P.sub.f.sub.
[0074] In this case, U.sub.0 is the complex amplitude of the un-modulated light distribution at the SLM 120, φ.sub.lens is the phase representation of the lens 175, and f.sub.1 is its focal length. φ.sub.SLM is the (known) phase modulation by the SLM 120, and φ.sub.abberation is the (unknown) distortion due to the scattering body A 140.
[0075] Finding the unknown distortion, which maximizes the similarity (which is determined by means of the Pearson correlation coefficient r) between the simulated camera images S(φ.sub.SLM, φ.sub.abberation) and the experimentally recorded camera images, was solved in that in the program “Tensorflow”, an automatic differentiation and a gradient-based optimization were carried out according to the following formula:
[0076] To refine the computed results further after a first optimization step, a second optimization step was carried out using a new set of modulations and corresponding images. In this second step, the corrections which were computed in the first step were added to all modulations, φ.sub.SLM+φ.sub.correction 1. The final correction was the sum of the first and the second correction, φ.sub.correction 1+φ.sub.correction 2. 180 modulations for the transmission and 540 modulations for the reflection experiments were used in each of the two iteration steps.
[0077] As can be seen from two representative examples in a, b or d, e of
[0078] In an epidetection configuration, as is typical for imaging in biological samples, reflected light is used for the search for a correction. However, reflected light accumulates a first aberration (transmission distortion) in the excitation path and a (generally different) second aberration in the reflection path. These two distortions have to be “untangled”, for example, to play a correction pattern for the transmission and/or the reflection on the SLMs 120, 165. The transmission distortions must first be deliberately corrected to generate a focus within a sample. For applications using reflected light, equation (4) is therefore expanded, as described hereinafter in the methods, to incorporate the reflection passage from the mirror through the sample.
[0079] Two representative examples of predicted and measured light distributions on the sample plane (transmission camera 150) are shown in g, h and k, l of
[0080] In reflection-based transmission control, the focus obtained was not necessarily centered (see, for example, in j and k of
[0081] In reflection-based transmission control, aberrations are computed simultaneously in two different focal planes independently of one another. This is similar to multi-conjugated adaptive optics, in which typically, however, an additional SLM is used to correct a second focal plane. In addition to generating individual foci, however, arbitrary other focus distributions could also be generated (for example, for applications in optogenetics).
[0082] One possibility for reducing a number of the samples in the above-described optimization method would be to combine a DIP with the above-described optimization method.
[0083] The number of the required samples is generally dependent on the size and the spatial frequency of the aberrations, so that stronger aberrations require more samples. This can be compared to the training of deep neural networks in which the number of the required samples for the model education also increases with increasing aberrations. In comparison to deep neural networks, the inclusion of a physical model of the light propagation enables aberration corrections to be found with a small number of random samples. It is also advantageous that no hypothetical assumptions (such as Zernike modes) about the distortions must be made.
[0084] The computation duration for finding the distortion parameters can advantageously be reduced by increasing the computing performance.
[0085] Thanks to the described computing environment, the introduced model-based optimization can be combined easily with another optical device, which is equipped with a spatial light modulator and a camera, without this requiring additional hardware, such as wavefront sensors or interferometers. The described technology for imaging through scattering materials can, for example, be used in a microscope with a high numerical aperture in an epidetection configuration. It is therefore expected that the developed method will be useful in many situations which require a correction of the light distribution upon passage through one or more layers of a scattering body.
[0086] The experimental setup, the data acquisition, the optimization of the model, and the evaluation of the present invention will be described in detail hereinafter.
Experimental Set Up and Data Acquisition
[0087] The laser is a model from Toptica (iBeam smart, 640 nm), the spatial light modulator (SLM) is from Meadowlark (SLM, ODP512-1064-P8), the cameras are from Basler (acA2040-55 um). All optical parts originated from Thorlabs.
[0088] The data were generated by placing a scattering body in the optical excitation path, by generating random SLM phase modulations, and recording the resulting 512×512 images using the transmission camera 150 and additionally using the reflection camera 160 for reflection experiments. Random SLM phase modulations were generated by summation of the first 78 Zernike modes with random coefficients, which originate from a normal distribution having the standard deviation r and are generated at a resolution of 512×512 pixels on the SLM.
[0089] The light intensity of the transmission and the reflection can vary by several orders of magnitude and can exceed the dynamic range of the cameras. To detect the entire range of the intensities, multiple images having different exposure times possibly must therefore be recorded (each image at a resolution of 12 bits per pixel).
[0090] In the case of transmission, each individual image was recorded at an exposure time of 60, 120, and 250 ms, respectively, and the resulting image was the sum of the recorded individual images, weighted with the reciprocal of the exposure time. Both saturated pixels and also pixels below the noise threshold were discarded. For the reflection camera, the images were recorded at exposure times of 60, 120, 250, 500, and 1000 ms. The transmission light intensity was additionally reduced using a “neutral density filter wheel” (NDM2/M, Thorlabs).
Optimization of the Model
[0091] A Python library for diffractive optics was used to compute the known factors of equation (4). By specifying the focal lengths and setup dimensions, discretized versions of the optical transfer functions were determined for the propagation operators and the phase display of the lenses. The resulting function, which relates known SLM phase modulations and unknown sample aberrations to camera images, was transferred into the Tensorflow environment.
[0092] The position of the scattering body, as can be seen in equation (4), was simulated in the plane of a lens 175. This reduces computing resources and storage space, since each intermediate plane requires additional wavefront propagation computations. In a similar manner, for reasons of computing efficiency, a single lens 180 having the focal length f.sub.2=f.sub.1/2 was used in order to focus the reflected light on the reflection camera. While the parameters of the optical model for transmission and reflection were adapted manually to the structure, they can also be determined using the optimization approach described below, for example, to obtain a corresponding system correction.
[0093] The model of the light propagation according to equation (4) was incorporated according to equation (5) in a loss function:
loss=1−r[S(ϕ.sub.SLM,ϕ.sub.aberration),I] (6),
[0094] wherein φ.sub.SLM and φ.sub.abberation represent the phase modulation generated by the SLM and by the optical system, in particular by the scattering body. All variables are 512×512 “real-valued” sensors, wherein φ.sub.abberation is the variable to be optimized.
[0095] Similarly to in the training of neural networks, the data are divided into training and validation sets. An Adam optimizer having a learning rate of 0.1 and a “batch size” of 30 was used. The optimization using the loss function leads to a correspondence of simulated and experimentally recorded images and resulted in the phase profile of the distortions of the optical system. The quality of the solution was quantified by a correlation between modeled and recorded images in the validation part of the data set and used as a criterion for “ending” the optimization. The convergence of the optimization process is dependent on the size and spatial frequencies of the aberration and the number of the samples. It was shown that optimized parameters having a value of r>0.6 are sufficient in many cases to focus the laser beam with a desired intensity profile on the sample.
[0096] For experiments using reflected light, the model of the light propagation was expanded to also detect the distortions of the light in the detection path during the traversal of the scattering body or of the entire optical system, respectively. The following adaptation for equation (4) follows therefrom:
[0097] wherein loss function (6) is optimized with respect to φ.sub.trans (corresponding to the distortion of the transmission) and φ.sub.ref (corresponding to the distortion of the reflection).
Evaluation
[0098] After φ.sub.abberation has been computed by a corresponding optimization in the lens plane, the corresponding correction of the SLM is determined in that the conjugated phase of the φ.sub.abberation distortion is propagated in reverse onto the plane of the SLM:
ϕ.sub.correction=arg(P.sub.−f1(exp[−1ϕabberation])) (8).
[0099] If the SLMs are thus programmed using the corresponding phase corrections φ.sub.correction, the distortions by the sample body are effectively corrected. The correction found using a low-pass location frequency filter was additionally smoothed. The discrete Fourier transform was applied to exp[iφ.sub.correction] and frequencies which exceeded 0.1 of the pattern resolution were discarded. Upon the representation of the correction on the SLM, this results in a compensation of the aberrations.
[0100] The distortions were generated using a thin layer of transparent nail polish, distributed on a slide. Two different scattering bodies were used for transmission and reflection experiments. The strength of the aberrations generally varies depending on sample positioning.
[0101] Optimization parameters (such as the number of the phase modulations or the learning rate) were adapted only once for transmission experiments and once for reflection experiments. As a simple measure for the quantification of the form of the uncorrected light distributions, their maximum extension was used, measured by the length of the first main component of the pixels above a 30% intensity threshold, a. In order to quantify the change in the distribution before and after the correction, a comparison of the uncorrected and corrected distribution, σ.sub.rel=σ.sub.u/σ.sub.c was performed. In order to additionally quantify the quality of the aberration correction, an improvement metric was used, which is defined as the ratio of the maximum intensity to the mean intensity in the context, η=max(I)/mean(I), and compared before and after the correction η.sub.rel=η.sub.u/η.sub.c. The distribution of the parameters (η.sub.rel, σ.sub.rel) was as follows for a series of 7 transmission experiments: (10.0; 25.3), (1.7; 6.5), (3.4; 12.1), (2.6; 10.4), (0.8; 1.2), (16.2; 25.4), (3.8; 9.8), (η.sub.rel)=5.49±5.17; (σ.sub.rel)=13.0±8.47; and for a series of 7 reflection experiments (10.0; 8.2), (10.4; 32.6), (11.6; 11.1), (7.2; 13.0), (8.7; 4.3), (4.4; 12.3), (1.9; 2.6); (η.sub.rel)=7.74±3.26; (σ.sub.rel)=12.0±9.17.
[0102] The present invention is not limited to embodiments described herein; reference should be had to the appended claims.
LIST OF REFERENCE NUMERALS
[0103] 100 Optical system [0104] 110 Input light distribution I.sub.0 [0105] 115 Laser [0106] 120 First spatial light modulator (SLM) [0107] 125 First beam splitter [0108] 130 Excitation path [0109] 135 Second beam splitter [0110] 140 Scattering body A [0111] 145 Third beam splitter [0112] 150 First camera/Transmission camera [0113] 155 Mirror [0114] 160 Second camera/Reflection camera [0115] 165 Second spatial light modulator (SLM) [0116] 170 Computer unit [0117] 175 Lens [0118] 180 Lens