SYSTEMS AND METHODS FOR SIMULTANEOUS SINGLE PARTICLE TRACKING, PHASE RETRIEVAL AND PSF RECONSTRUCTION

Information

  • Patent Application
  • 20240257362
  • Publication Number
    20240257362
  • Date Filed
    January 29, 2024
    2 years ago
  • Date Published
    August 01, 2024
    a year ago
Abstract
3D particle tracking and localization provide direct means to monitor details within nano-scale environments. However, a major shortcoming of 3D techniques is the sample induced aberrations due to inhomogeneous refractive index, resulting in distortion of point spread functions (PSFs), which are an important measurement tool required for these tasks in the field. This issue is particularly important when using pre-calibrated PSFs that do not take into account the sample induced aberrations. A system incorporates a Bayesian framework for simultaneous particle tracking and PSF inference directly from a given data. The system is data efficient by taking into account existing sources of uncertainty, such as uncertainty in the shape of the PSF, which is often ignored. The system is benchmarked using a wide range of synthetic and experimental data.
Description
FIELD

The present disclosure generally relates to particle localization, and in particular, to a system and associated methods for simultaneous single particle tracking, phase retrieval and PSF reconstruction using a Bayesian framework.


BACKGROUND

3D particle tracking and localization provide direct means to monitor biomolecular processes within nano-scale environments. However, optical aberrations due to inhomogeneous refractive indices are a major shortcoming in probing these processes in situ. In particular, point spread functions (PSF) may be distorted resulting in poor localization and linking across frames. This issue is particularly important when using pre-calibrated PSFs that do not take into account sample induced aberrations. The sample induced aberrations are often removed using experimental techniques such as adaptive optics (AO) by introducing new optical components to microscope setups.


It is with these observations in mind, among others, that various aspects of the present disclosure were conceived and developed.





BRIEF DESCRIPTION OF THE DRAWINGS

The patent or application file contains at least one drawing executed in color. Copies of this patent or patent application publication with color drawing(s) will be provided by the Office upon request and payment of the necessary fee.



FIG. 1A is a conceptual illustration showing particle localization and tracking of a dynamic particle observed using a bi-plane microscope under a computer-implemented particle localization and tracking framework outlined herein;



FIGS. 1B-1D are a series of graphical representations showing pupil phase, pupil amplitude, and particle trajectory obtained using the framework of FIG. 1A;



FIG. 2 is an illustration showing a graphical model of parameter dependencies of a measurement model outlined herein across a plurality of timesteps;



FIG. 3 is a simplified diagram showing an exemplary computing device for implementation of a computer-implemented particle localization and tracking framework outlined herein that includes the measurement model of FIG. 2;



FIGS. 4A and 4B are a pair of process flow diagrams illustrating a method for particle localization and tracking under the measurement model of FIG. 2 that may be implemented using the computing device of FIG. 3;



FIG. 5 is an illustration showing a frequency-domain mask for implementation of the method of FIGS. 4A and 4B;



FIGS. 6A-6O show results from simultaneous phase retrieval and particle tracking using synthetic data;



FIGS. 7A-7M show results from simultaneous phase retrieval and particle tracking using in vitro data acquired from diffusing beads with 100 nm diameter within 80% glycerol solution, a camera exposure time of 20 ms and induced secondary astigmatic aberration on top of aberrations due to optical setup; and



FIGS. 8A-8O show results from simultaneous phase retrieval and particle tracking using in vitro data acquired from a bi-plane setup using 100 nm beads diffusing within 80% glycerol solution, a camera exposure time of 20 ms and various induced aberrations.





Corresponding reference characters indicate corresponding elements among the view of the drawings. The headings used in the figures do not limit the scope of the claims.


DETAILED DESCRIPTION

The present disclosure provides a computer-implemented system and associated methods for simultaneous particle tracking, phase retrieval, and PSF reconstruction directly from a given data set. The system leverages a Bayesian framework for simultaneous particle tracking, phase retrieval, and PSF reconstruction directly from a given data set as an alternative to AO techniques without requiring additional hardware for an associated optical system. Moreover, the system is data efficient by rigorously propagating uncertainty from all existing sources in the problem, such as the uncertainty in the shape of PSF, often ignored. The methods are benchmarked using a wide range of synthetic and experimental data.


1. Related Work and Context

The 3D nature of biological samples begs the development of 3D fluorescent microscopy techniques. Particularly, it is of interest to observe and track fluorescence particles within subcellular environments characterized with inhomogeneous optical properties. As a result of these properties, the wavefront of fluorescent light traveling within these environments is significantly perturbed, resulting in distortion of the point spread function (PSF), which in turn hinders precise 3D particle localization and thus tracking.


Adaptive optics (AO) is a standard set of experimental techniques in fluorescence microscopy to correct sample induced wavefront distortions. AO techniques correct wavefront aberrations by scanning guide stars across the specimen. The corrections are achieved by embedding deformable mirrors or spatial light modulators in the excitation and detection paths.


Another major obstacle in 3D particle localization and tracking is the localization ambiguity in the axial direction due to the symmetry of the PSF with respect to the focal plane. This issue is often addressed by use of either multi-focal or PSF engineering techniques. The multi-focal technique breaks the symmetry along the axial direction by providing multiple slices of the PSF in this direction with known separations. On the other hand, to obtain precise 3D locations, the PSF engineering techniques achieve rapidly changing PSFs as a function of axial location by introducing designed perturbations to the wavefront.


In addition to these experimental solutions, there exist complementary computational solutions. In the computational front, it is often convenient to work within the Fourier domain where the wavefront is represented by a complex pupil function. The pupil function quantifies changes in the phase and amplitude of the waves due to sample induced aberrations, instrument imperfections and PSF engineering. In 3D particle localization and tracking, the pupil function is often obtained using phase retrieval techniques such as Gerchberg-Saxton and maximum likelihood techniques. These phase retrieval techniques often use a stack of calibration image frames acquired from beads placed on the microscope stage and incrementing its location below and above the focal plane. The calibrated pupil function can then be used to generate a pre-calibrated PSF, which is in turn employed for particle localization and tracking.


However, there are multiple problems associated to all procedures above: 1) calibrations often involves beads which are outside the sample whose optical properties themselves perturb wavefronts; 2) these methods do not rigorously propagate errors into the overall estimates; 3) the experimental solutions themselves are photon inefficient and result in a large amount of photon loss. For these reasons, it is advantageous to avoid approximations in theory and simultaneously avoid loss in optical equipment in an effort to both simultaneously correct for optical aberration and ultimately bring available tools toward quantitative 3D tracking in vivo.


2. Framework

This section provides a brief description of the Bayesian framework implemented by the system. This section first introduces the likelihood of a single plane and then extends it to the case of multi-plane microscopes to break degeneracy in particle trajectory estimation due to the PSF's symmetry. FIG. 1A shows an illustration of a system 100 for localization and tracking of a dynamic particle observed using a bi-plane microscope. This bi-plane setup provides two slices of the PSF separated by Δz in the axial direction which in turn breaks the degeneracy in learning the particle's trajectory. The distortion in the wavefront can be due to the inhomogeneous optical properties of the specimen itself and/or refractive index mismatch. FIGS. 1B and 1C respectively show phase and amplitude of a pupil function corresponding with the example of FIG. 1A. FIG. 1D shows an example particle trajectory corresponding with the example of FIG. 1A.


In the far field limit, the PSF is related to the pupil function, P(kx, ky), by scalar diffraction theory:










PSF

(

x
,

y
;

X
0
l


,

𝒫

)









"\[LeftBracketingBar]"






Aperture



𝒫

(


k
x

,

k
y


)



exp
[

i

2

π


k
Z



z
0
l


]



exp
[

i

2


π

(



k
x

(

x
-

x
0
l


)

+




k
y

(

y
-

y
0
l


)



)


]



dk
x



dk
y






"\[RightBracketingBar]"


2






(
1
)







where k=(ky, ky, kz), X=(x0l, y0l, z0l), and (x, y), respectively, denote the wave vector, particle coordinates at the lth frame (time point), and the camera coordinates. Further, the pupil function is a complex quantity expressed by its phase and amplitude custom-character=Ae, and the axial component of the wave vector is given by kz=√{square root over (k2−kx2−ky2)}. The integral is performed over the range of wave vectors accessible through the aperture (objective) given by






0




k
x
2

+

k
y
2






N
a

λ





where Na and λ are, respectively, the numerical aperture and fluorescent light wavelength in vacuum. The above integral is typically computationally intense and can be approximated using sums that can be computed using fast Fourier transforms. Here, the dynamics of a single particle following a Brownian motion are assumed. As such, given the particle location at frame l, the location at frame l+1 follows:










X
0

l
+
1






"\[LeftBracketingBar]"



X
0
l

,

D


Normal
(


X
0
l

,

2

D

Δ

t


)








(
2
)







where D and Δt, respectively, denote diffusion coefficient and frame exposure time.


Given the expected photon counts above, the likelihood of obtaining the observed photon count follows a Poisson distribution. As such, the likelihood of the entire sequence of frames is the independent product of the Poisson likelihood over every pixel.


The obtained likelihood can be used to learn the set of unknown parameters. In one aspect, the system can relate observation data to an associated likelihood of receiving the observation data with respect to a set of parameters, and can use this relationship to determine most likely values of the set of parameters.


Using the resulting PSF in Eq. 1, the expected number of photons reaching the nth pixel of the Ith frame is given by the following integral:











Λ
nm

(


X
o
l

,
𝒫
,

I
0

,


)

=



I
0








𝒜
nm




PSF

(

x
,

y
;

X
0
l


,
𝒫

)


dxdy




+






(
3
)







where I0, and custom-character are, respectively, the total photon count from the emitter per frame and the background photons per pixel. Here, custom-characternm represents pixel area on the nth row and mth column of a 2D frame. The present disclosure shows Λnm(X0l, custom-character, I0, custom-character) by Λnml hereafter for simplicity of the notation. Given the expected photon counts in Eq. 3, the likelihood of obtaining the observed photon count wnm for the pixel in the nth row and mth column follows a Poisson distribution. As such, the likelihood of obtaining observed photon counts of the entire sequence of frames is the independent product of the Poisson likelihood over every pixel:










P

(


W
_





"\[LeftBracketingBar]"




X
_

0

,
𝒫
,
𝒟
,

I
0

,
B



)

=



l




n




m



Poisson
(


w
nm
l

;

Λ
nm
l


)

.








(
4
)







where W and X0, respectively, denote the entire set of pixels in the sequence of frames, and the particle's trajectory across a given sequence of frames.


The obtained likelihood can be used to learn the set of unknown parameters. However, this likelihood is degenerate with respect to the particle trajectory due to the symmetry of the PSF below and above the focal plane. That is, this “likelihood” does not result in a unique particle trajectory. To overcome this issue, the system uses data acquired by a multi-plane optical system which samples the PSF at multiple z-locations with known separations. Therefore, the task of particle localization at a time point reduces to learning the particle's coordinates in one of the planes (reference plane) using data from all the planes which in turn breaks the symmetry and allows learning the true underlying trajectory.


As such, the above likelihood can be generalized to accommodate multi-plane (often bi-plane) imaging techniques that provides data from R slices of the PSF, designated by r=1, . . . , R. Therefore, the likelihood Eq. 4 modified is as follows:










P
(



W
_

_





"\[LeftBracketingBar]"

ϑ


)

=



r




l




n




m



Poisson
(


w
nmr
l

;

Λ
nmr
l


)

.









(
5
)







The likelihood obtained in Eq. 5 above can now be employed as part of a measurement model to estimate the most likely values of the set of parameters including: the particle trajectory X0, pupil function custom-character=Ae, diffusion coefficient D, particle photon emission rate (photon counts per frame I0), and the background photon count per pixel custom-character. These parameters are collectively regrouped under ϑ=(X0, custom-character, D, I0, custom-character). The likelihood is multiplied by priors on the unknown parameters to construct a posterior:










P
(

ϑ




"\[LeftBracketingBar]"



W
_

_



)




P
(



W
_

_





"\[LeftBracketingBar]"

ϑ


)



P

(
ϑ
)






(
6
)







where P(ϑ) stands for priors on these parameters. Here, the most notable prior is the Gaussian prior (GP) on the phase of the pupil function:









Φ


GP

(

0
,
K

)





(
7
)







and similarly for the amplitude a GP prior is also used; see section 6 of the present disclosure. Furthermore, the prior on the particle's trajectory is given by Eq. 2. For the rest of the parameters, priors are selected based on either computational or physical motivation.


With the posterior at hand, parameters can now be inferred. However, the resulting posterior cannot be directly sampled on account of its complicated form. Therefore, the system applies a Markov chain Monte Carlo procedure to iteratively sweep over the set of parameters and determine respective likelihoods associated with receiving the observation data. FIG. 2 shows a graphical model for sampling parameter values using the Markov chain Monte Carlo procedure. In FIG. 2, A represents magnitude/amplitude of the pupil function, Φ represents phase of the pupil function, and wnmlr represents data frame images. Further, I0 represents photon emission rate, custom-characterr represents background emission rate at the r-plane, X01l represents particle location at time l, and D represents the diffusion constant. l=0, . . . , L counts data acquisition times, r represents the imaging plane, n represents pixel row index and m represents pixel column index. The black circles represent parameters to be learned. Gray circles represent data. White circles represent hidden parameters, Diamond shapes represent variables that can be deterministically calculated from other parameters.


In each iteration, parameters are sampled in the following order: 1) sample likelihoods respectively associated with phase and amplitude of the pupil function by drawing values from the phase and amplitude posteriors using the Metropolis-Hasting (MH) procedure; 2) sample likelihoods associated with a trajectory of a particle over a plurality of frames by proposing new trajectories, (i.e., sets of particle locations across all the frames within a given sequence) and sampling respective likelihoods of obtaining the proposed trajectories, using the hit-and-run sampler. That is, at each iteration, the system proposes a new trajectory by displacing a possible location of the particle from a previous location along random directions for each time point (i.e., for each frame); 3) sample likelihoods associated with a diffusion coefficient by directly sampling from the posterior; 4) sample likelihoods associated with photon counts from the particle per frame using a Metropolis-Hastings (MH) procedure; 5) sample likelihoods associated with a background photon count per pixel per frame again using the MH procedure.


At the end, the set of samples drawn can be employed for further numerical analysis. The system can use the sampled likelihoods to infer most likely values of the set of parameters are observable based on the actual observed data and based on the various probabilities associated with observing the observed data given the parameter values that were sampled.


Section 3 outlines a computer-implemented system and method for particle localization and tracking based on the above. Sections 4-6 of the present disclosure provide further information about the measurement model including selections for priors for each respective parameter. Section 7 of the present disclosure shows experimental results from one example implementation of the systems and methods outlined herein.


3. Computer-Implemented System
3.1 Computing Device


FIG. 3 is a schematic block diagram of an example device 200 that may be used with one or more embodiments described herein, e.g., as a component of the system and implementing aspects of the methods outlined above.


Device 200 comprises one or more network interfaces 210 (e.g., wired, wireless, PLC, etc.), at least one processor 220, and a memory 240 interconnected by a system bus 250, as well as a power supply 260 (e.g., battery, plug-in, etc.).


Network interface(s) 210 include the mechanical, electrical, and signaling circuitry for communicating data over the communication links coupled to a communication network. Network interfaces 210 are configured to transmit and/or receive data using a variety of different communication protocols. As illustrated, the box representing network interfaces 210 is shown for simplicity, and it is appreciated that such interfaces may represent different types of network connections such as wireless and wired (physical) connections. Network interfaces 210 are shown separately from power supply 260, however it is appreciated that the interfaces that support PLC protocols may communicate through power supply 260 and/or may be an integral component coupled to power supply 260.


Memory 240 includes a plurality of storage locations that are addressable by processor 220 and network interfaces 210 for storing software programs and data structures associated with the embodiments described herein. In some embodiments, device 200 may have limited memory or no memory (e.g., no memory for storage other than for programs/processes operating on the device and associated caches). Memory 240 can include instructions executable by the processor 120 that, when executed by the processor 220, cause the processor 220 to implement aspects of the system and the methods outlined herein.


Processor 220 comprises hardware elements or logic adapted to execute the software programs (e.g., instructions) and manipulate data structures 245. An operating system 242, portions of which are typically resident in memory 240 and executed by the processor, functionally organizes device 200 by, inter alia, invoking operations in support of software processes and/or services executing on the device. These software processes and/or services may include particle localization and tracking processes/services 290, which can include aspects of methods and/or implementations of various modules described herein. Note that while particle localization and tracking processes/services 290 is illustrated in centralized memory 240, alternative embodiments provide for the process to be operated within the network interfaces 210, such as a component of a MAC layer, and/or as part of a distributed computing network environment.


It will be apparent to those skilled in the art that other processor and memory types, including various computer-readable media, may be used to store and execute program instructions pertaining to the techniques described herein. Also, while the description illustrates various processes, it is expressly contemplated that various processes may be embodied as modules or engines configured to operate in accordance with the techniques herein (e.g., according to the functionality of a similar process). In this context, the term module and engine may be interchangeable. In general, the term module or engine refers to model or an organization of interrelated software components/functions. Further, while the particle localization and tracking processes/services 290 is shown as a standalone process, those skilled in the art will appreciate that this process may be executed as a routine or module within other processes.


3.2 Method

A method 300 outlined herein and shown in FIGS. 4A and 4B for particle localization and tracking may be implemented using device 200 (e.g., as part of particle localization and tracking processes/services 290) in accordance with the system 100 shown in FIG. 1A. The method 300 corresponds with FIGS. 1A and 2 and their corresponding discussion, as well as the Inverse Model presented in section 6 of the present disclosure.


Referring to FIG. 4A, step 302 of method 300 includes accessing observation data including brightness data indicative of one or more light-emitting particles captured across a plurality of frames and across a plurality of planes by an imaging device, the plurality of frames having an aberration profile observable across each frame of the plurality of frames. In some examples outlined herein, observation data is denoted as observed photon counts w across a set of pixels for the plurality of frames.


Step 304 of method 300 includes sampling a set of joint probability values associated with observing the observation data for values of each respective parameter of a plurality of parameters of a measurement model, the plurality of parameters including: a particle trajectory for each respective light-emitting particle of the one or more light-emitting particles across the plurality of frames; and a set of point spread function parameters of a point spread function of the imaging device. The set of point spread function parameters can include an amplitude and a phase of a pupil function associated with the aberration profile and the point spread function of the imaging device. Other parameters of the plurality of parameters that are jointly sampled within step 304 include a diffusion coefficient, a photon emission rate, and a background photon count per pixel. In other words, step 304 aims to address “what is the likelihood of observing the observation data given a set of parameter values”. In some examples outlined herein, the plurality of parameters of the measurement model are denoted as ϑ=(X0, custom-character, D, I0, custom-character). Further, note that the measurement model simultaneously considers each frame of the plurality of frames.


Because the posterior probability distributions associated with the parameters mentioned in step 304 are intractable and computationally expensive, step 304 may be performed using step 306 of method 300. Step 306 includes applying a Markov Chain Monte Carlo procedure to iteratively sample probability values associated with values of each respective parameter of the measurement model over a plurality of iterations.


Step 306, which is a sub-step of step 304, can include various sub-steps including steps 308-316 that are iteratively performed as part of the Markov Chain Monte Carlo procedure, outlined in FIG. 4B. Within an iteration, steps 308-316 may be performed sequentially, and may be repeated until convergence of the Markov Chain Monte Carlo procedure.


Step 308 includes sampling probabilities of the set of joint probability values associated with an amplitude and a phase of a pupil function over the plurality of frames from respective amplitude and phase posterior probability distributions of the measurement model. Step 308 may be applied using a Metropolis-Hasting procedure at each iteration of the Markov Chain Monte Carlo procedure of step 306. In some examples outlined herein, the pupil function can be denoted as P=Ae, where A denotes an amplitude of the pupil function and Φ denotes a phase of the pupil function. The amplitude and phase posterior probability distributions can be respectively obtained through application of Gaussian priors on the amplitude and phase of the pupil function.


Step 310 includes sampling probabilities associated with particle trajectories over the plurality of frames from a particle trajectory posterior probability distribution of the measurement model. Step 310 may be applied using a hit-and-run sampler at each iteration of the Markov Chain Monte Carlo procedure of step 306. In some examples outlined herein, the particle trajectories are denoted as X0.


Step 312 includes sampling a probability associated with a diffusion coefficient directly from a posterior probability distribution of the measurement model for the diffusion coefficient at each iteration of the Markov Chain


Monte Carlo procedure of step 306. In some examples outlined herein, the diffusion coefficient is denoted as D.


Step 314 includes sampling probabilities associated with a particle photon emission rate from a light-emitting particle of the one or more light-emitting particles for each frame of the plurality of frames from a posterior probability distribution of the measurement model for the particle photon emission rate. Step 314 may be applied using a Metropolis-Hasting procedure at each iteration of the Markov Chain Monte Carlo procedure of step 306. In some examples outlined herein, the particle photon emission rate is denoted with I0.


Step 316 includes sampling probabilities associated with a background photon count per pixel for each frame of the plurality of frames from a posterior probability distribution of the measurement model. Step 316 may be applied using a Metropolis-Hasting procedure at each iteration of the Markov Chain Monte Carlo procedure of step 306. In some examples outlined herein, the background photon count per pixel is denoted as custom-character.


Referring back to FIG. 4A, following step 304, including convergence of the Markov Chain Monte Carlo procedure of step 306, step 318 of method 300 includes jointly inferring, based on the set of joint probability values and the observation data, a set of most probable values of the plurality of parameters.


4. Fourier Optics and PSF Engineering

A plane wave (single frequency) is described by:










U

(

x
,

y
,

z

)

=

exp
[

í

2


π

(



k
x


x

+


k
y


y

+


k
z


z


)


]





(
8
)







where kx, ky and kz are components of the vector {right arrow over (k)} and








k
x
2

+

k

y
.

2

+

k
z
2


=



n
2


λ
2



n





and λ are respectively, the refractive index of the medium and the wavelength of light in vacuum. At z=0 plane, the plane wave is given by U(x, y, 0)=exp[i2π(kxx+kyy)]. Traveling along the z-axis, at z=z0 plane, the plane wave is then U(x, y, z0)=exp[i2π(kxx+kyy+kzz0)]. This can be expressed as follows:










U

(

x
,
y
,

z
0


)

=


U

(

x
,
y
,
0

)



exp
[

i

2

π


k
z



z
0


]






(
9
)







where exp[i2πkzz0] is single frequency plane wave propagator










H

(


k
x

,

k
y


)

=

exp
[

i

2

π


z
0





k
2

-

k
x
2

-

k
y
2




]





(
10
)







which is also called the defocus. An arbitrary field at z=0 can be written as a superposition of single-frequency plane waves:










f

(

x
,
y

)

=






-






F

(


k
x

,

k
y


)



exp
[

i

2


π

(



k
x


x

+


k
y


y


)


]



dk
x



dk
y








(
11
)







where F(kx, ky) is the Fourier transform of f(x, y). The transmitted wave f(x, y, z0) is then:










f

(

x
,
y
,

z
0


)

=






-






F

(


k
x

,

k
y


)



exp
[

i

2

π


z
0





k
2

-

k
x
2

-

k
y
2




]



exp
[

i

2


π

(



k
x


x

+


k
y


y


)


]



dk
x



dk
y








(
12
)







which is the Fourier transform of the product of F(kx, ky) and the defocus term. Note that f(x, y, z0) describes the field at location x, y when the source (emitter) is located at xo=0, y0=0 and z0. (The above equation is the scalar approximation for diffraction valid in the far-field limit.) In the case of microscopes, the Fourier transform of the light's electric field is termed the pupil function custom-character(kx, ky) which describes the wavefront and its distortions due to optical aberrations and/or extra phase intentionally added for point spread function (PSF) engineering. Here, similar to eq. 12:










E

(

x
,
y
,

X
0


)

=





Aperture



P

(


k
x

,

k
y


)



exp
[

i

2

π


z
0





k
2

-

k
χ
2

-

k
y
2




]



exp
[

i

2


π

(



k
x


x

+


k
y


y


)


]



dk
x



dk
y








(
13
)







where limits of the integral are also from zero up to the maximum spatial frequency transmitted by the objective/aperture,










k
x
2

+

k
y
2



=


N
a

λ


,




where Na=n sin θ is the numerical aperture of the microscope. Here, x and y are the camera coordinates, and the particle is located at X0l=(x0l, y0l, z0l)in the lth frame. For convenience, with reference to FIG. 5, a mask, M(kx, ky), can be defined in the frequency domain where:










M

(


k
x

,

k
y


)

=

{



1





k
x
2

+

k
y
2


<


N
a
2


λ
2







0





k
x
2

+

k
y
2


>


N
a
2


λ
2











(
14
)







assuming a limited size for the mask so that −kmax≤kx, ky≤kmax. Using the mask (14), the integral (13) can be written as:










E

(

x
,
y
,

X
0
l


)

=




-

k

ma

x






k

ma

x








-

k

ma

x






k

ma

x






M

(


k
x

,

k
y


)



P

(


k
x

,

k
y


)



exp
[

i

2

π


z
0





k
2

-

k
x
2

-

k
y
2




]



exp
[

i

2


π

(



k
x

(

x
-

x
0
l


)

+


k
y

(

y
-

y
0
l


)


)


]



dk
x



dk
y








(
15
)







where the limits of the integral now coincide with the limits of the mask.


The PSF is then the intensity of diffracted light, given by:










P

S


F

(

x
,

y
;
A

,
Φ
,

X
0
l


)


=




"\[LeftBracketingBar]"





-

k

ma

x






k

ma

x








-

k

ma

x






k

ma

x






M

(


k
x

,

k
y


)



A

(


k
x

,

k
y


)



exp
[

i


Φ

(


k
x

,

k
y


)


]

×

exp
[

i

2

π


z
0
l





k
2

-

k
x
2

-

k
y
2




]



exp
[

i

2


π

(



k
x

(

x
-

x
0
l


)

+


k
y

(

y
-

y
0
l


)


)


]



dk
x



dk
y






"\[RightBracketingBar]"





2








(
16
)







where custom-character(kx, ky)=A(kx, ky)exp[iΦ(kx, ky)] and A(kx, ky) and Φ(kx, ky) are, respectively, magnitude and phase of the pupil function and are real quantities. Using the above PSF, the expected photon counts over a pixel is given by:











Λ

n

m


(

A
,
Φ
,

X
0
l

,

I
0

,
B

)

=

B
+


I
0








A
pixel




PSF

(

x
,

y
;
A

,
Φ
,

X
0
l


)


dxdy









(
17
)







where custom-character, I0, and custom-characterpixel are, respectively, the background photon count per pixel, total photon count from the particle, and the pixel area.


The present disclosure has so far discussed an imaging model using continuous coordinates, however, calculation of integrals in eqs. 16 and 17 are often computationally expensive. As such, it is convenient to approximate these integrals by sums. To do so, note that the PSD is usually measured over a region of interest (ROI) with N×N pixels with pixel size of a, where n, m=1, . . . , N, respectively, count rows and columns of pixels in that ROI. The Fourier transform of the PSF is therefore also given over a region of N×N pixels (i.e., a grid) with a pixel size (i.e., grid step size) of 1/(aN) in the frequency domain, where the discrete frequencies along x and y axes are given by







k
μ

,


k
v

=

-

1

2

a




,


-

1

2

a



+

1

a

N



,

,


1

2

a


-

1

a

N



,


1

2

a


.





The integral in (16) can thus be written as a sum:











PSF

n

m


(

A
,
Φ
,

X
0
l


)

=


α
PSF





"\[LeftBracketingBar]"





μ
=
1

N





v
=
1

N



M

μ

v




A

μ

v




exp
[

i


Φ

μ

v



]



exp
[


i2πz
0
l





k
2

-

k
μ
2

-

k
v
2




]



exp
[

i

2


π

(



k
μ

(

n
-

x
0
l


)

+


k
v

(

m
-

y
0
l


)


)


]






"\[RightBracketingBar]"





2







(
18
)







which can be calculated using the fast Fourier transform (FFT) with a low computational cost. Note that








k

m

ax


=

1

2

a



,

α
PSF





is the normalization constant and μ, ν count pixels (samples) in the Fourier domain. Therefore:











PSF

n

m


(

A
,
Φ
,

X
0
l


)

=


α
PSF







"\[LeftBracketingBar]"


FFT


{


MA

ex

p


[


I

Φ

+

i

2

π


z
0
l





k
2

-

k
x
2

-

k
y
2




-

i

2


π

(



k
x



x
0
l


+


k
y



y
0
l



)



]

}




"\[RightBracketingBar]"


2

.






(
19
)







where M, A, and Φ represent the entire sets of {Mμν, Aμν, Φμν}.


The above equation yields the PSF values at the pixel centers which can be multiplied by the pixel area to approximate the PSF integral required in calculating the expected photon counts over pixels, see eq. 17. However, particle localization based on such approximation would not provide sufficient precision and accuracy for super-resolved tracking. To remedy this issue, it is necessary to calculate pixel values with resolutions below the data pixel size and sum over the obtained values to gain a more accurate approximation of the integral in eq. 17. To calculate PSFs below the pixel size, it is common to use zero-padding in Fourier domain, which essentially means increasing the sizes of M, A, and Φ in eq. 19 to larger frequencies by adding zeroes to them. Although the zero-padding method does not yield any additional information, it gives PSF values below the pixel size via interpolation.


Assuming that zero-padding results in J samples of PSF per pixel, the result is shown by PSFnmj(A, Φ, X0l). Therefore, the expected photon count at the nth and mth pixel is given by:












Λ

n

m


(

A
,

Φ
,


X
0
l

,


I
0

,
B

)

=

B
+


I
0




A
pixel

J





j



PSF
nmj

(

A
,
Φ
,

X
0
l


)





,




(
20
)







where







A

p

i

x

e

l


J




is the area of the pixel divided into J sub-pixels. Now, a likelihood can be constructed that employs the obtained expected photon counts which can be used to track the particle across L frames. However, due to the symmetry of the PSF with respect to the focal plane, the localization accuracy along the axial direction would be insufficient. One way to address this issue is multi-plane imaging resulting in multiple simultaneous slices of the PSF along the axial direction with known separation. The expected photon counts for each plane can be computed similar to eq. 20:












Λ

n

m

l

(

A
,

Φ
,

X

0
r

l

,

I
0

,
B

)

=


B
r

+


I
0




A
pixel

J





j



PSF
nmj

(

A
,

Φ
,

X

0
r

l


)





,




(
21
)







where r counts R planes in the imaging setup. Therefore, assuming only shot noise, the total likelihood is:










P

(


W
¯

|
ϑ

)





r




l




n




m




e

-

Λ
nmr
l






Λ
nmr
l


w
nmr
l





w

n

m

r

l

!










(
22
)







where Wrl and W are, respectively, the measured photon counts over the lth frame and the rth plane and the entire set of pixels across all frames and all planes. Moreover, here ϑ={A, Φ, X0, I0, custom-character1:R} shows the entire set of unknowns. Λnmrlnmr(A, Φ, X0rl, I0, custom-characterr).


Here a note is warranted on the multi-plane setup. In such setups, the axial locations are often registered to be the same across all the planes and the interplane distance along the axial direction (z) is known. As such, one of the planes is assumed to be the reference plane and the particle location is learned in that plane. The particle location in the remaining planes are deterministically related to the location in the reference frame using translation and rotation which can be simultaneously performed using affine transformations. Here, assume that the reference plane is r=1 and only calculate particle location in this plane, namely X0rl.


5. Freely Diffusing Emitter

Up to this point, the discussion has assumed an emitter with a fixed location. Now, the present disclosure considers a dynamic dye that freely diffuses and explore the area and therefore its locations changes over time as follows:











x

0

1


(

t
0

)



Normal
(


μ

x
0


,

2

D

Δ


t
l



)





(
23
)















y

0

1


(

t
0

)



Normal
(


μ

y
0


,

2

D

Δ


t
l



)





(
24
)
















z

0

1


(

t
0

)



Normal
(


μ

z
0


,

2

D

Δ


t
l



)





(
25
)















x

0

1


(

t
l

)



Normal
(



x

0

1


(

t

l
-
1


)

,


2

D

Δ


t
l



)





(
26
)














y

0

1


(

t
l

)



Normal
(



y

0

1


(

t

l
-
1


)

,


2

D

Δ


t
l



)





(
27
)














z

0

1


(

t
l

)



Normal
(



z

0

1


(

t

l
-
1


)

,


2

D

Δ


t
l



)





(
28
)







where l counts frames and Δtl=tl−tl−1 is the exposure time for the lth frame, and D is the diffusion coefficient. x01(t0), y01(t0) and z01(t0) are the particle's initial location in the reference plane assumed to be at a random position across the ROI taken from normal distributions in (23-25). As mentioned before, the particle's position in the second plane is deterministically related to the first (reference) plane by an affine transformation. Finally, using the generated sequence of particle locations, the expected photon counts Λnmrl can be computed using eq. 21 and can then be used in turn to find the likelihood in eq. 22.


6. Inverse Model

With reference to FIG. 2. this section first gives a summary of the inverse model including priors used on knowns and the likelihood model, and then provides further details.










log

(
A
)



G


P

(

0
,

K
A


)






(
29
)












Φ


GP

(

0
,

K
Φ


)





(
30
)












D


InvGamma

(


α
D

,

β
D


)





(
31
)













I
0



Gamma
(


α
1

,

β
1


)





(
32
)













B
r



Gamma
(


α
B

,

β
B


)





(
33
)














x

0

1

1

|

D


Normal
(


μ
x

,

σ

x

y

2


)






(
34
)














y

0

1

1

|

D


Normal
(


μ
y

,

σ

x

y

2


)






(
35
)














z

0

1

1

|

D


Normal
(


μ
z

,

σ
z
2


)








(
36
)
















x

0

1

l

|

x

0

1


l
-
1



,

D


Normal
(


x

0

1


l
-
1


,

2

D

Δ

t


)






(
37
)















y

0

1

l

|

y

0

1


l
-
1



,

D


Normal
(


y

0

1


l
-
1


,

2

D

Δ

t


)






(
38
)














z

0

1

l

|

z

0

1


l
-
1



,

D


Normal
(


z

0

1


l
-
1


,

2

D

Δ

t


)






(
39
)














w
nmr
l

|
A

,
Φ
,
D
,

l
0

,

B
r

,


X

0

r

l



Poisson

(

Λ

n

m

r

l

)






(
40
)













Λ

n

m

r

l

=





(


B
r

+


I
0




A
pixel

J





j



PSF
nmj

(

A
,

Φ
,

X

0
r

l


)




)


dt


=


(


B
r

+


I
0




A
pixel

J





j



PSF

n

m

j


(

A
,

Φ
,

X

0
r

l


)




)


Δ

t






(
41
)







where KΦ and KA are the covariance kernels for Gaussian process (GP) priors given by:











K
Φ

(


k


,


k





)

=


σ
A
2



exp
[


-

1
2





(



k


-


k






L
Φ


)

2


]






(
42
)














K
A

(


k


,


k





)

=


σ
A
2



exp
[


-

1
2





(



k


-


k






L
A


)

2


]






(
43
)







where {right arrow over (k)}=(kx, ky) are the coordinates in the Fourier domain and σΦ, σA, LΦ and LA are positive quantities. It is assumed that the PSF is already integrated over space.


6.1 Making Inference About Φ

The target distribution of the phase of the pupil function, Φ, is given by:










Φ


P

(


Φ
|
A

,
D
,

I
0

,


X
0

_

,

W
_

,

B

1
:
R



)




P

(



W
_

|
A

,
Φ
,
h
,

X
_

,

B

1
:
R



)



P

(
Φ
)



=




[



n




m




l




r




exp
[

-

Λ

n

m

r

l


]




(

Λ

n

m

r

l

)


w

n

m

r

l




w

n

m

r

l






]


G


P

(


Φ
;
0

,

K
Φ


)







(
44
)







Gaussian processes technique is used to sample the phase of the pupil function (A). To do so, the amplitude is sampled at a mesh grid of test points with the same number of elements as the data ROls. Since the likelihood is not conjugate to the GP prior, Metropolis-Hastings (MH) technique can be employed to sample the posterior (44):









A
=



P

(



Φ

j
+
1


|
A

,
D
,

I
0

,


X
0

_

,

W
_

,

B

1
:
R



)


P

(



Φ
j

|
A

,
D
,

I
0

,


X
0

_

,

W
_

,

B

1
:
R



)





Q

(


Φ
j

|

Φ

j
+
1



)


Q

(


Φ

j
+
1


|

Φ
j


)







(
45
)







where Q is the proposal distribution and j count samples. The GP prior itself can be used as the sampling distribution and therefore the acceptance ratio is given by the likelihood ratios:









𝔸
=



n




m




l




r


[


exp
[

-

(


Λ

n

m

r


l


ϕ

j
+
1




-

Λ

n

m

r


l


ϕ
j




)


]




(


Λ

n

m

r


l


ϕ

j
+
1





Λ

n

m

r


l


ϕ
j




)


w

n

m

r

l



]









(
46
)







where Λnmrj+1 is calculated using the proposed phase Φj+1.


6.2 Making Inference About A

The target distribution of the amplitude of the pupil function, A, is


given by:










A


P

(


A
|
Φ

,
D
,

I
0

,


X
0

_

,

W
_

,

B

1
:
R



)




P

(



W
_

|
A

,
Φ
,
D
,

I
0

,


X
0

_

,

W
_

,

B

1
:
R



)



P

(
A
)



=




[



n




m




l




r




exp
[

-

Λ

n

m

r

l


]




(

Λ

n

m

r

l

)


w

n

m

r

l





w

n

m

r

l

!






]


G


P

(


A
;
0

,

K
A


)







(
47
)







Gaussian process technique can be used to sample the amplitude of the pupil function. However, while the amplitude is a positive quantity, GPs allow negative values as well. Thus, a substitution A=eχ can be made and χ can be learned, which can be either negative or positive. Similar to Φ, MH technique can be employed to sample the posterior (47) and the Gaussian process prior can be used as proposal distribution. Therefore the acceptance ratio is given by:









𝔸
=



n




m




l




r


[


exp
[

-

(


Λ

n

m

r


l


A

j
+
1




-

Λ

n

m

r


l


A
j




)


]




(


Λ

n

m

r


l


A

j
+
1





Λ

n

m

r


lA
j



)


w

n

m

r

l



]









(
48
)







where ΛnmrlAj+1 is calculated using the proposed amplitude.


6.3 Making Inference About D

The target distribution of the diffusion constant, D, is given by










D


P

(


D
|
Φ

,
A
,
D
,

I
0

,

X
_

,

W
_

,

B

1
:
R



)




P

(

D
|

X
_


)



P

(
D
)




=





[



r



Normal
(



X
r
1

;

μ



,

σ
μ
2


)






l
=
2



[

Normal
(



X
r

l
-
I


;

X
r
l


,

2

D

Δ

t


)

]




]



InvGamma

(


D
;

α
D


,


β
D


)







(
49
)







The InvGamma prior is conjugate to the likelihood and the target posterior has a closed form given by









P

(


D
|
Φ

,
A
,
D
,

I
0

,

X
_

,

W
_

,

B

1
:
R



)




(
50
)

















l
=
2



[


Normal
(



X
γ

l
-
1


;

X
γ
l


,


2

DΔt


)



InvGamma

(


D
;

α
D


,

β
D


)


]







(
51
)
















1

D



3
2


R

L

+

a
D






exp
[

-



1

4

Δ

t




(







l
=
2


L



(


X
1
l

-

X
1

l
-
1



)

2


+






l
=
2


L



(


X
2
l

-

X
2

l
-
1



)

2



)


D


]






(
52
)













=



1

D

a
D






exp
[

-


β
D


D


]




InvGamma

(


D
;

α
D



,

β
D



)







(
53
)







where the terms that are not dependent on D are dropped in the last step. Furthermore:










α
D


=



3
2



R

(

L
-
1

)


+

α
D






(
53
)













β
D


=



1

4

Δ

t




(





l
=
2

L



(


X
1
l

-

X
1

l
-
1



)

2


+




l
=
2

L



(


X
2
l

-

X
2

l
-
1



)

2



)


+

β
D






(
54
)







where R is the number of planes. Therefore, the diffusion constant, D, can be directly sampled from the posterior (53).


6.4 Making Inference About I0

The target distribution of I0 is given by:











I
0



P

(



I
0

|
Φ

,
A
,
D
,


X
0

_

,

W
_

,

B

1
:
R



)




P

(



W
_

|
Φ

,
A
,
D
,


X
0

_

,

W
_

,

B

1
:
R



)



P

(

I
0

)



=




[



r




n




m




l




exp
[

-

Λ

n

m

r

l


]




(

Λ

n

m

r

l

)


w

n

m

r

l





w

n

m

r

l

!






]



Gamma
(



I
0

;

α
I


,

β
I


)







(
56
)







Since the posterior (56) does not have a closed form, MH technique can be employed to draw samples:









A
=



P

(



I
0

j
+
1


|
Φ

,
A
,
D
,


X
0

_

,

W
_

,

B

1
:
R



)


P

(



I
0
j

|
Φ

,
A
,
D
,


X
0

_

,

W
_

,

B

1
:
R



)





Gamma
(



l
0
j

;

α
1
Prop


,


I
0

j
+
1



α
I
Prop



)


Gamma
(



I
0

j
+
1


;

α
I
Prop


,


I
j


α
I
Prop



)







(
57
)







where the Gamma distribution can be used as proposal distribution:










I
0

j
+
1





Gamma
(


α
I
Prop

,


I
0
j


α
I
Prop



)

.





(
58
)







6.5 Making Inference About custom-characterr


The target distribution of custom-characterr is given by:











B

1
:
R




P

(



B

1
:
R


|
Φ

,
A
,
D
,

I
0

,


X
0

_

,

W
_


)




P

(



W
_

|
Φ

,
A
,
D
,

I
0

,


X
0

_

,

B

1
:
R



)



P

(

B

1
;
R


)



=



[



r



[



n




m




l




exp
[

-

Λ

n

m

r

l


]




(

Λ

n

m

r

l

)


w

n

m

r

l





w

n

m

r

l

!





]



Gamma
(



B
r

;

α
B


,

β
B


)



]






(
59
)







Since the posterior (59) does not have a closed form, MH technique can be employed to draw samples:









A
=



P

(



B

1
:
R


j
+
1


|
Φ

,
A
,
D
,

I
0

,


X
0

_

,

W
_


)


P

(



B

1
:
R

j

|
Φ

,
A
,
D
,

I
0

,


X
0

_

,

W
_


)





Gamma
(



B

1
:
R

j

;

α
B
Prop


,


B

1
:
R


j
+
1



α
B
Prop



)


Gamma
(



B

1
:
R


j
+
1


;

α
Prop


,


B

1
:
R

j


α
B
Prop



)







(
60
)







where the Gamma distribution can be used as a proposal distribution:










B
r

j
+
1




Gamma
(


α
B
Prop

,



B
r
j


α
B
Prop



)





(
61
)







6.6 Making Inference About X0

The target distribution for X0,r1:L is given by:










X

0
,

r
=
1



1
:
L




P

(



X

0
,

r
=
1



1
:
L


|
Φ

,
A
,
D
,

I
0

,

W
_

,

B

1
:
R


,

X

0
,

r
=
2



1
:
L



)




P

(



W
_

|
Φ

,
A
,
D
,

I
0

,

X
_

,

B

1
:
R



)



P

(



X

r
=
1

1

|


μ


0


,

σ
2


)






l
=
2

L



P

(



X

r
=
1

l

|

X

r
=
1


l
-
1



,
D

)

.







(
62
)







Here, the particle's trajectory is sampled in the reference plane, i.e., r=1, and locations in other planes can be deterministically calculated.


The MH algorithm can be used to learn the particle track. New trajectories can be proposed by:

    • 1) selecting a random frame and modifying the corresponding location:











X

r
=
1


l
,
prop





X

r
=
1


l
,
old


+

Normal
(

0
,

σ
X
2


)



,




(
63
)









    • 2) hit and run













X

r
=
1



1
:
L

,
prop





X

r
=
1



1
:
L

,
old


+

λ



u


l







(
64
)







where {right arrow over (u)}l and λ are, respectively, a unit vector with a random direction in space and the magnitude of the move in that direction. Note that the magnitude of the move in all directions are similar. The acceptance ratio of both jumps can be calculated as follows:









𝔸
=





P

(



W
_

|
A

,
Φ
,
D
,

I
0

,


X
_

0
prop

,

B

1
:
R



)






P


(



X

r
=
1


1
,
prop


|


μ


0


,

σ
2


)








i
=
2


L


P


(



X

r
=
1

prop

|

X

r
=
1



l
-
1

,
prop



,
D

)











P

(



W
_

|
A

,
Φ
,
D
,

I
0

,


X
_

0
old

,

B

1
:
R



)







P

(




X



r
=
1


1
,
old


|


μ


0


,

σ
2


)








i
=
2


L


P


(



X

r
=
1

old

|

X

r
=
1



l
-
1

,
old



,
D

)












(
65
)







where the proposal distributions are canceled.


7 Multi-Plane Microscope Setup and Data Acquisition

Performance of the tracking and phase-retrieval method outlined herein is experimentally evaluated using a multi-plane epi-fluorescence microscope configured on a IX71 microscope (Olympus). In the illumination path of the microscope, a red laser (637 nm, OBIS) light is spatially filtered, expanded, and collimated. Wide-field illumination is achieved by focusing the collimated light at the back focal plane of a water immersion objective with high numerical aperture (UPLSAPO 60× 1.2 NA W; Olympus) using an achromatic doublet lens with a focal length of 300 mm. The fluorescence emission is collected by the same objective in the back-reflection and transmitted through a quad-band beam splitter (HC quadband laser beam-splitter R405/488/561/635, Semrock). A long-pass filter with the cut-off wavelength at 655 nm (Semrock) was used for further filtering the emission signal. In the detection path, a multi-plane prism is incorporated allowing to detect eight distinct but nearly equally-spaced image planes along the optical axis (the depth of sample).


These image planes exit the prism as two sets of four adjacent images. Accordingly, two sCMOS cameras (ORCA-Flash 4.0 V2, Hamamatsu) record the image planes synchronously. A further lateral magnification factor of 1.33 is achieved using a telescope system comprised of two lenses with focal lengths of 150 mm and 200 mm. A rectangular field stop is positioned at the focal plane of the microscope tube lens to adjust the field of view size and to prevent any cross-talk between the neighbouring images on cameras. An astigmatic aberration is introduced on the detection point spread function of the microscope by the incorporation of a cylindrical lens (50 mm of focal lens) positioned in the close vicinity of the rectangular field stop.


Brightness and inter-plane distance of the eight axial planes is measured by z-scanning the image of immobilised red fluorescence microspheres (FluoSpheres Carboxylate-Modified Microspheres, 0.2 μm, 625/645, Thermo Fisher Scientific, Waltham, MA) spin-coated on a clean glass coverslide. The average inter-plane distance and the standard deviation are correspondingly (370±32) nm. Image planes are axially co-aligned using image cross-correlation obtained by the bead calibration data.


7.1 Data Acquisition

Using the uManager software, movies were recorded with few thousand frames (10 ms of exposure time) from red fluorescence beads (FluoSpheres, Carboxylate-Modified Microspheres, 0.02 μm, 625/645, Thermo Fisher Scientific, Waltham, MA) diffusing randomly inside a mixture of glycerol and distilled water at room temperature. Three different volumetric ratio of solution components (75% glycerol+25% water, 80% glycerol+20% water, 90% glycerol+10% water) were used to obtain different diffusion coefficients. Particularly, the diffusion coefficients of nearly 390, 230, and






7

0



nm
2

ms





respectively were estimated using the above-mentioned solution ratios for diffusing spherical particles with 20 nm of diameter at 293K. Further, the same experiment was conducted using the same setup but in the absence of the cylindrical lens to collect negative control data.


7.2 Calibration Measurement on Pixel-To-Pixel Maps for Offset, Gain, and Variance of the Utilized sCMOS Camera


To calibrate the pixel-to-pixel camera gain, movies were recorded with one thousand frames from the fluorescence signal of Atto 655 solution (with 100 nM of concentration) excited with different excitation laser powers (20%, 40%, 60%, 80%, and 100% of the maximum power) using the same experimental setup exploited for data acquisition. Furthermore, the pixel-to-pixel offset and variance maps were calibrated using the camera acquisition in the darkness (laser power set to zero).


Assuming the following noise model for CMOS cameras:










P

(



w
nml
r

|

Λ
nml
r


,
G
,

ϵ

n

m

2

,
O

)

=




ξ

n

m





Normal
(



w
nml
r

;



G

n

m




ξ

n

m



-

O

n

m




,

ϵ

n

m

2


)



Poisson

(


ξ

n

m


,

Λ
nml
r


)







(
66
)







where Gnm, Onm, ϵnm2 and ξnm are, respectively, the pixel-dependent gain, offset, noise variance, and the number of photon reaching the nm-th pixel on the CMOS camera, which is marginalized out. The above noise model can be approximated as:










P

(



w
nml
r

|

Λ
nml
r


,
G
,

ϵ

n

m

2

,
O

)



Poisson

(




(


w
nml
r

-

O

n

m



)

/

G

n

m



+


ϵ

n

m

2

/

G

n

m

2



|


Λ

n

m

r

+


ϵ

n

m

2

/

G

n

m

2




)





(
67
)







where the offset Onm is derived using the average of pixel values acquired in darkness. The offset Onm and noise variance ϵnm2 are obtained from the data acquired at darkness. The gain Gnm2 is related to the temporal mean and variance (designated by Xj and ΔX2,j with j showing laser power of the data by:












Δ

X

_


n

m


2
,
j


=



G

n

m


(



X
_


n

m

j

-

O

n

m



)

+


ϵ

n

m

2

.






(
68
)







The gain can be solved from this equation at two different laser intensities.


8. Results


FIGS. 6A-6L show simultaneous phase retrieval and particle tracking using synthetic data simulated with diffusion constant of 0.04 μm2/s, an intensity of 2000 photons per frame, a background of 20 photons per pixel, and 100 frames of 32×32 pixels from each plane. In particular, FIGS. 6A-6E show examples of simulated PSFs at different locations. FIG. 6F shows an X-trajectory, FIG. 6G shows a Y-trajectory and FIG. 6H shows a Z-trajectory. FIG. 6I shows a ground truth pupil phase, while FIG. 6J shows a pupil phase found using the methods outlined herein. Similarly, FIG. 6K shows a ground truth pupil amplitude, while FIG. 6L shows a pupil amplitude found using the methods outlined herein. FIG. 6M shows a histogram of sampled diffusion coefficients, FIG. 6N shows a histogram of sampled particle intensities, and FIG. 6O shows a histogram of sampled background. In FIGS. 6M-6O, red dashed lines indicate ground truths.



FIGS. 7A-7M show simultaneous phase retrieval and particle tracking using in vitro data acquired from diffusing beads with 100 nm diameter within 80% glycerol solution, a camera exposure time of 20 ms and induced secondary astigmatic aberration on top of aberrations due to optical setup. FIGS. 7A-7E show examples of simulated PSFs at different locations. FIG. 7F shows an X-trajectory, FIG. 7G shows a Y-trajectory and FIG. 7H shows a Z-trajectory. FIG. 7I shows a pupil phase found using the methods outlined herein, and FIG. 7J shows a pupil amplitude found using the methods outlined herein. FIG. 7K shows a histogram of sampled diffusion coefficients. The red dashed line indicates the ground truth diffusion constant calculated using Stokes-Einstein diffusion equation for 80% glycerol solution at room temperature. FIG. 7L shows a histogram of sampled particle intensities. FIG. 7M shows a histogram of sampled background.



FIGS. 8A-8O show simultaneous phase retrieval and particle tracking using in vitro data acquired from a bi-plane setup using 100 nm beads diffusing within 80% glycerol solution, a camera exposure time of 20 ms and various induced aberrations.



FIG. 8A shows an example of frame sequences acquired using a bi-plane setup with no induced aberration. FIGS. 8B and 8C show pupil phases obtained from two different 120 frames chunks of the sequence shown in FIG. 8A. FIGS. 8D and 8E show pupil amplitudes obtained from two different 120 frames chunks of the sequence shown in FIG. 8A.



FIG. 8F shows an example of frame sequences acquired using a bi-plane setup with secondary astigmatic induced aberration. FIGS. 8G and 8H show pupil phases obtained from two different 120 frames chunks of the sequence shown in FIG. 8F. FIGS. 8I and 8J show pupil amplitudes obtained from two different 120 frames chunks of the sequence shown in FIG. 8F.



FIG. 8K shows example of frame sequences acquired using a bi-plane setup with three different induced aberration including: primary astigmatic, Coma and Quadrafoil. FIGS. 8L and 8M show pupil phases obtained from two different 120 frames chunks of the sequence shown in FIG. 8K. FIGS. 8N and 8O show pupil amplitudes obtained from two different 120 frames chunks of the sequence shown in FIG. 8K.


It should be understood from the foregoing that, while particular embodiments have been illustrated and described, various modifications can be made thereto without departing from the spirit and scope of the invention as will be apparent to those skilled in the art. Such changes and modifications are within the scope and teachings of this invention as defined in the claims appended hereto.

Claims
  • 1. A system, comprising: a processor in communication with a memory, the memory including instructions executable by the processor to: access observation data including brightness data indicative of one or more light-emitting particles captured across a plurality of frames and across a plurality of planes by an imaging device, the plurality of frames having an aberration profile observable across each frame of the plurality of frames;sample a set of joint probability values associated with observing the observation data for values of each respective parameter of a plurality of parameters of a measurement model, the plurality of parameters including: a particle trajectory for each respective light-emitting particle of the one or more light-emitting particles across the plurality of frames; anda set of point spread function parameters of a point spread function of the imaging device;andjointly infer, based on the set of joint probability values and the observation data, a set of most probable values of the plurality of parameters.
  • 2. The system of claim 1, the set of point spread function parameters including: an amplitude and a phase of a pupil function associated with the aberration profile and the point spread function of the imaging device.
  • 3. The system of claim 1, the plurality of parameters further including one or more of: a diffusion coefficient;a particle photon emission rate; anda background photon count per pixel.
  • 4. The system of claim 1, the memory including instructions executable by the processor to: apply a Markov Chain Monte Carlo procedure to iteratively sample probability values associated with values of each respective parameter of the measurement model over a plurality of iterations.
  • 5. The system of claim 1, the memory including instructions executable by the processor to: sample probabilities associated with an amplitude and a phase of a pupil function over the plurality of frames from respective amplitude and phase posterior probability distributions using a Metropolis-Hasting procedure at each iteration of a Markov Chain Monte Carlo procedure.
  • 6. The system of claim 5, wherein the amplitude and phase posterior probability distributions are respectively obtained through application of Gaussian priors on the amplitude and phase of the pupil function.
  • 7. The system of claim 1, the memory including instructions executable by the processor to: sample probabilities associated with particle trajectories over the plurality of frames from a particle trajectory posterior probability distribution using a hit-and-run sampler at each iteration of a Markov Chain Monte Carlo procedure.
  • 8. The system of claim 1, the memory including instructions executable by the processor to: sample a probability associated with a diffusion coefficient directly from a posterior probability distribution of the measurement model at each iteration of a Markov Chain Monte Carlo procedure.
  • 9. The system of claim 1, the memory including instructions executable by the processor to: sample probabilities associated with a particle photon emission rate from a light-emitting particle of the one or more light-emitting particles for each frame of the plurality of frames using a Metropolis-Hasting procedure at each iteration of a Markov Chain Monte Carlo procedure.
  • 10. The system of claim 1, the memory including instructions executable by the processor to: sample probabilities associated with a background photon count per pixel for each frame of the plurality of frames using a Metropolis-Hasting procedure at each iteration of a Markov Chain Monte Carlo procedure.
  • 11. The system of claim 1, where the measurement model simultaneously considers each frame of the plurality of frames.
  • 12. A method, comprising: accessing observation data including brightness data indicative of one or more light-emitting particles captured across a plurality of frames and across a plurality of planes by an imaging device, the plurality of frames having an aberration profile observable across each frame of the plurality of frames;sampling a set of joint probability values associated with observing the observation data for values of each respective parameter of a plurality of parameters of a measurement model, the plurality of parameters including: a particle trajectory for each respective light-emitting particle of the one or more light-emitting particles across the plurality of frames; anda set of point spread function parameters of a point spread function of the imaging device;andjointly inferring, based on the set of joint probability values and the observation data, a set of most probable values of the plurality of parameters.
  • 13. The method of claim 12, the plurality of parameters further including one or more of: a diffusion coefficient;a particle photon emission rate; anda background photon count per pixel.
  • 14. The method of claim 12, further comprising: applying a Markov Chain Monte Carlo procedure to iteratively sample probability values associated with values of each respective parameter of the measurement model over a plurality of iterations.
  • 15. The method of claim 12, further comprising: sampling probabilities associated with an amplitude and a phase of a pupil function over the plurality of frames from respective amplitude and phase posterior probability distributions using a Metropolis-Hasting procedure at each iteration of a Markov Chain Monte Carlo procedure.
  • 16. The method of claim 15, the amplitude and phase posterior probability distributions being respectively obtained through application of Gaussian priors on the amplitude and phase of the pupil function.
  • 17. The method of claim 12, further comprising: sampling probabilities associated with particle trajectories over the plurality of frames from a particle trajectory posterior probability distribution using a hit-and-run sampler at each iteration of a Markov Chain Monte Carlo procedure.
  • 18. The method of claim 12, further comprising: sampling a probability associated with a diffusion coefficient directly from a posterior probability distribution of the measurement model at each iteration of a Markov Chain Monte Carlo procedure.
  • 19. The method of claim 12, further comprising: sampling probabilities associated with a particle photon emission rate from a light-emitting particle of the one or more light-emitting particles for each frame of the plurality of frames using a Metropolis-Hasting procedure at each iteration of a Markov Chain Monte Carlo procedure.
  • 20. The method of claim 12, further comprising: sampling probabilities associated with a background photon count per pixel for each frame of the plurality of frames using a Metropolis-Hasting procedure at each iteration of a Markov Chain Monte Carlo procedure.
CROSS-REFERENCE TO RELATED APPLICATIONS

This is a U.S. Non-Provisional Patent Application that claims benefit to U.S. Provisional Patent Application Ser. No. 63/441,673 filed 27 Jan. 2023, which is herein incorporated by reference in its entirety.

GOVERNMENT SUPPORT

This invention was made with government support under R01 GM130745 and R01 GM134426 awarded by the National Institutes of Health. The government has certain rights in the invention.

Provisional Applications (1)
Number Date Country
63441673 Jan 2023 US