METHOD FOR DETECTING SPATIAL COUPLING
20230237664 · 2023-07-27
Inventors
Cpc classification
International classification
Abstract
Method for detecting spatial coupling comprising the steps of: a. providing a set of data, b. identifying and segmenting a first and a second sets of objects of interest, wherein the objects of the second set are assimilated to punctual objects, c. determining, using a level set function, an expected number of objects of the second set present within a specified range of distances to at least one given object of the first set in case there were no interactions between said at least one given object of the first set and the objects of the second set, d. determining, using a level set function, an actual number of objects of the second set within the same range of distances to the at least one given object of the first set, and e. comparing said expected amount and said determined amount.
Claims
1. Method for detecting spatial coupling comprising the steps of: a. providing a set of data, b. identifying and segmenting a first and a second sets of objects of interest, wherein the objects of the second set are assimilated to punctual objects, c. determining, using a level set function, an expected number of objects of the second set present within a specified range of distances to at least one given object of the first set in case there were no interactions between said given object of the first set and the objects of the second set, d. determining, using a level set function, an actual number of objects of the second set within the same range of distances to the at least one given objects of the first set, and e. comparing said expected amount and said determined amount.
2. The method according to claim 1 wherein the set of data is a set of imaging data.
3. The method according to claim 1 wherein the spatial coupling to be identified is a molecular spatial coupling between molecular objects of interest.
4. The method according to claim 3 wherein the provided set of data includes a biological tissues imaging data, preferably medical imaging data.
5. The method according to claim 3 wherein the provided set of data includes microscopy imaging data.
6. The method according to claim 1 wherein steps c and d are performed for several objects of the first set.
7. The method according to claim 6 wherein steps c and d are repeated for every objects of the first set.
8. The method according to claim 1 wherein steps c and d are performed for several given ranges of values.
9. The method according to claim 8 wherein the several given ranges of values do not overlap.
10. The method according to claim 8 wherein the several ranges of values are not consecutive.
11. The method according to claim 1 wherein the data comprise spatial coordinates, preferably bidimensional or tridimensional spatial coordinates, and/or temporal coordinates.
12. The method according to claim 1 wherein the first and second sets of objects of interest comprise punctual objects and/or regions.
13. Computer program product comprising code configured to, when executed by a processor or an electronic control unit, perform the method according to claim 1.
Description
[0050] The invention can be better understood at the reading of the detailed examples below, which constitute non-limitative embodiments of the present invention and at the examining of the annexed drawing, on which:
[0051]
[0052]
[0053]
[0054]
[0055]
[0056] The annexed drawing includes meaningful colors. Although the present application is to be published in black and white, a colored version of the annexed drawing was filed before the EPO.
[0057] Embedding Complex-Shaped Objects with Level-Sets
[0058] Let us define the domain of analysis to be Ω⊂.sup.2.
[0059] We consider the case of analyzing the co-localization of the elements of a set B to the set A. The set A={s.sub.1(p), . . . , s.sub.n1(p)} of complex-shaped objects is represented with a collection of curves parameterized by p comprised in [0;1]. B={u.sub.1, . . . , u.sub.n2} is a set of points u.sub.j=(x; y) in Ω.
[0060] The set cardinalities are represented as n.sub.1=|A| and n.sub.2=|B|. The method is graphically summarized in
[0061] The method is designed for analyzing the spatial coupling of points (or small spotty objects, shown in cyan on
[0062] Since the shapes in A are defined over Ω, one may define a continuous domain image b: Ω.fwdarw.[0; 1] such that b(x; y)=1 for all pixels (x; y) which are crossed by or enclosed (for closed contours) by at least one contour in A, and zero otherwise. The binary image b(x; y) may be interpreted as the superposition of the (possibly overlapping) segments defined by the curves in A. We propose an implicit representation of the components in b by embedding the object boundaries as the zero level shape of a level set function. We introduce the Lipschitz function Φ: Ω.fwdarw.R, which is defined as follows:
[0063] Here ω represents the contours or the interior zone enclosed by the union of the closed curves in A. The advantage of embedding the shapes via the level set function is that it allows an implicit representation of the curves as the zero level set Φ. Therefore, the region enclosed by the m.sup.th and n.sup.th level set of Φ may be represented as ω.sub.mn={(x,y)|x∈H(n−ϕ)−H(m−ϕ)}, where n>m≥0 and H(Φ) is the standard Heaviside function.
[0064] Quantifying the Coupling of Points to Objects
[0065] We define the statistic K.sub.mn which is proportional to the number of events u of B which occur inside the region ω.sub.mn. Mathematically,
[0066] The region indicator function χ.sub.mn(u)=1 if u belongs to ω.sub.mn and zero
[0067] otherwise. As χ.sub.mn(u) is a Bernoulli random variable with parameter p.sub.mn, K.sub.mn obeys the Binomial distribution. When the spatial points in B follow a homogeneous Poisson distribution and exhibit complete spatial randomness, this parameter may be computed to be p.sub.mn=|ω.sub.mn|/|Ω|.
[0068] Furthermore, K converges to the Normal law, expressed as K˜N (μ.sub.mn, σ.sub.mn) for sufficiently large n2. Our objective is to estimate the parameters of this distribution in a closed form under the assumption of a spatial randomness of the points in B. In a stochastic setup, we assume K to be a random variable with an associated distribution function. Therefore, the expected value of this random variable may be computed as
[0069] The variance of the statistic can be expressed as follows:
Since χ.sub.mn is a Bernoulli random variable with expected value p.sub.mn, E[χ.sup.2.sub.mn(u)]=p.sub.mn as well. Furthermore, the complete spatial randomness of the point process ensures that the location of a point u.sub.i of B is independent of another point u.sub.j of B for every i≠j, which yields E[χ.sub.mn(ui)χ.sub.ω(uj)]=E[χ.sub.mn(ui)]E[χ.sub.mn(uj)].
[0070] Substituting this result in Eq. 4, we compute the variance as follows:
Using vector notations, we have K=[K.sup.0, . . . , K.sub.mn, . . . ]′, M=[μ.sub.0, . . . , μ.sub.mn, . . . ]′ and Σ=diag([σ.sub.0, . . . , σ.sub.mn, . . . ]′) such that K˜N(M,Σ).
[0071] Statistical Characterization of the Spatial Coupling
[0072] To statistically characterize the coupling of points to objects from
[0073] the computed K vector, we first reduce it to
K.sup.0=Σ.sup.−1.Math.[K−M], (6)
[0074] which converges to a standard gaussian vector under the complete spatial randomness hypothesis: K.sup.0˜N(0.sub.N,1.sub.N,N) where N is the length of the vector K, 0.sub.N a 0-vector of length N and 1.sub.N,N a N by N identity matrix. Components of K.sup.0 are independent random variables and we can therefore compute the probability that the maximum component of K.sup.0, which we denote sup.sub.N[K.sup.0], is greater than arbitrary value x is equal to
[0075] where cdf(x) is the cumulative density function of the normal gaussian law. Therefore, we can compute the p-value for rejecting the null hypothesis of points' complete spatial randomness (CSR) with
[0076] The null-hypothesis framework ensures interpretability of the result. The fact that there are no tunable parameters and that no training data is required allows the process to operate fully unsupervised. To detect significant components of K.sup.0 where points accumulate around objects, we use the universal threshold T(N)=√(2 log(N)) introduced by Donoho and Johnston, and used for computing the significant components of a N-length vector corrupted with unit-variance, white noise. Thus, for each component K.sup.0.sub.mn>T(N) we estimate the number of coupled points C.sub.mn between level-sets 0<m<n, i.e. statistically above the expected number of points under complete spatial randomness, with
[0077] The indicator function χ=1 if K.sup.0.sub.mn>T(N) and zero otherwise. Finally, for each point's position uj of B, for 1≤j≤n2, we can compute the probability pc(uj) that this point is coupled to objects of set A
[0078] The mean coupling distance d.sub.C[B.fwdarw.A] of points of set B of objects of set A is therefore given by
where the distance d [uj.fwdarw.A] of point uj to set A is equal to the minimum distance of uj to any pixel x; y such that the level set function Φ(x; y)=0: d [uj.fwdarw.A]=.sub.minx;y s.t. Φ(x;y)=0d[uj.fwdarw.(x,y)].
[0079] Validation with Simulations
[0080] To test the accuracy and robustness of our method, we generated synthetic sequences in Icy (http://icy.bioimageanalysis.org) with different levels of coupling between points and elongated objects.
[0081] Simulating Coupling with Elongated Objects
[0082] To simulate elongated objects with different shapes and length, we designed a stochastic algorithm where, for each object we simulate an open contour sj(p) with p comprised in [0; 1]: For each object 1≤j≤n1, we start by drawing a random initial position s(0) in the FOV Ω, a 256_256 pixels square here. Then, for 1=1::L, with L the length of objects, we compute iteratively the curvilinear position as sj(p=1/L)=sj((1−1)/L)+re.sup.iθ1 (in complex form). In our simulations r=1 and 01 follows a uniform random variable over [0;π].
[0083] We highlight that restricting the range of each independent random variable θ to [0; π] ensures that each object in the set A is rather elongated. Finally, from the simulated set of objects contours A for discretized curvilinear coordinate p=0, . . . 1/L, . . . , 1 we compute the pixelized level-set function Φ(x; y) such that Φ(x; y)=0 for each pixel (x; y) containing at least one curvilinear position [sj(1/L)] for 1≤j≤n1 and 0≤l≤L. To simulate the coupling of a given proportion 0≤α≤1 of n2 points of the set B to previously simulated objects of the set A, we simulate a Thomas process: we first randomly draw (1−α)n2 points in Ω. Then, for each remaining coupled point uk for 1≤k≤αn2, we choose randomly one simulated curvilinear position sj (l/L), and simulate the position u.sub.k.
[0084] Finally, we generate the green B sequence by binarizing the pixels that contain at least one position u.sub.k, 1≤k≤n2.
[0085]
[0086] Results
[0087] For different levels of points coupling α=0; 0.1 . . . 1.0 and distance μc=1 pixel and σc=0:3 pixels, we compare the simulated and the measured percentage of coupling for increasing objects' length (L=1 corresponding to points, L=10 and L=30).
[0088] Ideally, the measured percentage of coupling should be close to the simulated percentage, which corresponds to the black dashed line in
[0089] Using Wide-Field Fluorescence Microscopy to Measure the Coupling of Synaptic Spots to Neuron's Membrane
[0090] To demonstrate an application in bioimaging, we use wide-field fluorescence imaging (
[0091] Quantitative evaluations are performed on a set of 18 different images by designing a protocol in Icy. For spatial analysis, the set of objects (set A) is obtained by segmenting the MAP2 response using k-mean thresholding algorithm in Icy. Centroids of the Synapsin spots, automatically extracted via a wavelet-based spot detector constitute the point set B. Over 92% of the detected spots were found to be accumulated within the domains ωmn(0≤m<n≤9) defined by the level sets of the segmented cells, of which more that 89% spots were found to be statistically apposed to the cell shape with non-zero coupling probability (Eq. 10). Statistically significant accumulation of spots (p-value=10−178±18) were observed at an average coupling distance of 2.1 pixels, with a peak at a distance less than 100 nm from cell boundary. Additionally, our method also predicts the uncertainty in the spatial process via the average coupling probability
This value is expected, as the dendrites span a considerable area which increases the risk of observing Synapsin accumulation due to chance. The distance of accumulation of synaptic vesicles are found to be in agreement with the typical size of synaptic buttons, and the quantitative results indeed suggest a strong association between the two markers used in this positive control.
[0092] To analyze the colocalization between points (or small spots) and complex-shape objects, we leveraged the versatility of level-sets to map objects contours and the distance of any point inside the FOV to the closest contour. After having characterized the expected points' distribution inside level-set domains under complete spatial randomness, we measured any significant accumulation of points and quantified the spatial coupling of points to objects. We validated our method with synthetic simulations, and showed that it outperforms standard Ripley-based analysis, especially for elongated objects. Finally, we highlight that the restriction of the level set function to the region of interest by using suitable boundary conditions, eliminates the need to explicitly correct for edge-artifacts. Therefore, our method provides a generic, and robust tool to study colocalization for a variety of problems commonly encountered in fluorescent microscopy, super resolution imaging, and histopathology.
Using the Method on Multicolor Images
[0093] Application 1
[0094] As shown on
[0095] The DAPI channel response was converted to point localizations by detecting the binary spots (using the Icy plugin spot detector) and estimating the positions of the center of masses of the spots.
[0096] Colocalization analysis on the above-mentioned channels using the method according to the present invention found statistically significant coupling (p-value=0) between the two channels, with a coupling index of 0.82, average coupling distance of 0.79 pixels, and an average coupling probability of 0.84. These findings support the qualitative observation of the merged channel (last column) which shows a significant response in yellow, thereby signifying co localization.
[0097] Application 2
[0098] As shown on
[0099] The RHOD channel response was converted to point localizations by detecting the binary spots (using the Icy plugin spot detector) and estimating the positions of the center of masses of the spots.
[0100] The method according to the invention allowed finding statistically significant coupling (p-val=1e-19) between the channels, although the coupling index is lower than the previous experiment (0.46). The couples were present at an average distance of 2.7 pixels, which explains the absence of yellow response in the merged channels, although the distribution of the individual channels indicate spatial correlation. Average Coupling probability was determined to be 0.61.
[0101] Application 3: Local Investigation Inside a Predefined Region of Interest
[0102] A local region of interest (ROI) was selected on the previous wide-field image of
[0103] It is understood that the described embodiments are not restrictive and that it is possible to make improvements to the invention without leaving the framework thereof.
[0104] Unless otherwise specified, the word “or” is equivalent to “and/or”. Similarly, the word ‘one’ is equivalent to ‘at least one’ unless the contrary is specified. Unless otherwise specified, all percentages are weight percentages.
[0105] Application for Spatio-Temporal Data Analysis
[0106] In order to develop and validate predictive models for early detection of epidemics or monitoring thereof, the present document propose a method for statistical analysis of spatio-temporal point cloud data. Such spatio-temporal point-clouds may correspond to GPS coordinates of individuals, or may represent physical geolocations such as local clusters or epidemiological hot-spots. In contrast to existing techniques that measure interaction by simply counting local associations between two spatial sets, the present document provide a robust mechanism to measure statistically significant interaction between spatio-temporal data sets. Given a set of reference spatial localizations (such as a group of individuals, geographical hot-spots or disease containment zones), the method provides a temporal index of association between the reference and an observed spatial dataset realized over time.
[0107] To illustrate said method, an epidemiological case study is simulated in