usage:tracking_algorithm

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
usage:tracking_algorithm [2019/08/07 18:06] – pseudomoanerusage:tracking_algorithm [2019/08/19 15:30] (current) – [Appendix: Normalisation of correlated displacement spaces] pseudomoaner
Line 8: Line 8:
 ===== A note on notation ===== ===== A note on notation =====
  
 +Throughout this page, the term `feature' will be used in a generic sense. It can in principle be applied to any quantitative property of an object, however in FAST's default state the set of features is restricted to object centroid ($x$,$y$), length, width, area, orientation, and the mean and standard deviation of the pixel intensities associated with the object in each imaging channel. These are the features available for measurement using the [[usage:feature_extraction|feature extraction]] module. Following measurement, these features are stored as a feature vector $\mathbf{f}_{t,i}$ for object $i$ in frame $t$. In subsequent sections, the subscript $i$ will generally be omitted for brevity. Depending on context, $\mathbf{f}_{t}$ will also sometimes be expressed as $f_{t,\phi}$, allowing explicit indexing over each feature $\phi$.
 ===== The challenge of tracking ===== ===== The challenge of tracking =====
  
Line 36: Line 37:
 <imgcaption Fig2|Flowchart of major elements of the feature tracking algorithm. Different versions of the feature space (raw, $\mathbf{f}$, regularised, $\bar{\mathbf{f}}$ and normalised, $\hat{\mathbf{f}}$) are indicated at the points in the algorithm at which they are generated.>{{ :usage:trackingflowchart.png?500 }}</imgcaption> <imgcaption Fig2|Flowchart of major elements of the feature tracking algorithm. Different versions of the feature space (raw, $\mathbf{f}$, regularised, $\bar{\mathbf{f}}$ and normalised, $\hat{\mathbf{f}}$) are indicated at the points in the algorithm at which they are generated.>{{ :usage:trackingflowchart.png?500 }}</imgcaption>
  
-FAST adopts a two pronged approach to tracking (<imgref Fig2>). The first prong is to make all features directly comparable by shifting and rescaling $\mathbf{f}$ to generate the **normalised feature space** $\hat{\mathbf{f}}_t$. The corresponding \textbf{normalised displacement space} $\Delta \hat{\mathbf{f}}_t$ is isotropic and zero-centred, resolving the problems of feature drift and anisotropy. $\Delta \hat{\mathbf{f}}_t$ is normalised on a frame-by-frame basis, allowing dynamic changes in the statistical properties of features to be captured and accounted for.+FAST adopts a two pronged approach to tracking (<imgref Fig2>). The first prong is to make all features directly comparable by shifting and rescaling $\mathbf{f}$ to generate the **normalised feature space** $\hat{\mathbf{f}}_t$. The corresponding **normalised displacement space** $\Delta \hat{\mathbf{f}}_t$ is isotropic and zero-centred, resolving the problems of feature drift and anisotropy. $\Delta \hat{\mathbf{f}}_t$ is normalised on a frame-by-frame basis, allowing dynamic changes in the statistical properties of features to be captured and accounted for.
  
 The second prong is to adaptively vary the detection threshold to account for variations in system density and feature usefulness. To assist in this second task, the concept of feature **reliability** is introduced. This is a joint measure of the noise associated with each feature and the range of values it can take, and represents the usefulness of each feature for distinguishing different link options in the normalised displacement space. Reliability can be combined across features to give a single **trackability** score for each timepoint. This is a user-directed heuristic measure of dataset quality which can be used for quality control and automated purging of low-quality sections of tracking datasets. The second prong is to adaptively vary the detection threshold to account for variations in system density and feature usefulness. To assist in this second task, the concept of feature **reliability** is introduced. This is a joint measure of the noise associated with each feature and the range of values it can take, and represents the usefulness of each feature for distinguishing different link options in the normalised displacement space. Reliability can be combined across features to give a single **trackability** score for each timepoint. This is a user-directed heuristic measure of dataset quality which can be used for quality control and automated purging of low-quality sections of tracking datasets.
Line 42: Line 43:
 At the core of the FAST tracking algorithm is a machine learning protocol that automatically determines the necessary dataset statistics. A training set of object links is first created using a high stringency, classical tracking algorithm. This training set is then used to estimate the reliability of each feature and the trackability of the dataset, as well as the values of $\mathbf{\mu}_t$ and $\mathbf{\Sigma}_t$. These statistics are then used to generate $\Delta \hat{\mathbf{f}}_t$ and to calculate the adaptive threshold for each timepoint. At the core of the FAST tracking algorithm is a machine learning protocol that automatically determines the necessary dataset statistics. A training set of object links is first created using a high stringency, classical tracking algorithm. This training set is then used to estimate the reliability of each feature and the trackability of the dataset, as well as the values of $\mathbf{\mu}_t$ and $\mathbf{\Sigma}_t$. These statistics are then used to generate $\Delta \hat{\mathbf{f}}_t$ and to calculate the adaptive threshold for each timepoint.
  
-For simplicity, I will here limit the description of the tracking algorithm to the case that $\mathbf{\Sigma}_t$ is diagonal, //i.e.// that all features are independent from each other. Extension of the algorithm to the case where correlations exist between features is fairly simple, and is provided in the final section. This is the version of the algorithm employed by the full version of FAST. However, as we will see, the assumption of feature independence makes the role of each mathematical operation easier to understand.+For simplicity, I will here limit the description of the tracking algorithm to the case that $\mathbf{\Sigma}_t$ is diagonal, //i.e.// that all features are independent from each other. Extension of the algorithm to the case where correlations exist between features is fairly simple, and is provided in the [[usage:tracking_algorithm#appendixnormalisation_of_correlated_displacement_spaces|final section]] of this page. This is the version of the algorithm employed by the full version of FAST. However, as we will see, the assumption of feature independence makes the role of each mathematical operation easier to understand.
  
 ===== Collection of the training dataset ===== ===== Collection of the training dataset =====
Line 100: Line 101:
 ==== The problem of link ambiguity ==== ==== The problem of link ambiguity ====
  
-<imgcaption Fig3|The problem of link ambiguity. a) Two objects in feature space at time $t$ (red) move to new positions at time $t+1$ (blue). The correct links differ from those assigned by the optimal guess based on available information. b) Partitioning of normalised feature space into regions of ambiguity by centroid features $x$ and $y$ from example shown in figure <imgref Fig1>. Each region of ambiguity is 4 standard deviations wide in each feature direction, corresponding to a 95\% probability that an object at its centre will remain within its range in the next frame. The green region indicates a case where multiple objects are within a single region of ambiguity. The trackability of this dataset (number of regions = 40, number of objects = 13) is 0.49.>{{ :usage:featspacepartition.png?600 }}</imgcaption> +<imgcaption Fig3|The problem of link ambiguity. a) Two objects in feature space at time $t$ (red) move to new positions at time $t+1$ (blue). The correct links differ from those assigned by the optimal guess based on available information. b) Partitioning of normalised feature space into regions of ambiguity by centroid features $x$ and $y$ from example shown figure 1. Each region of ambiguity is 4 standard deviations wide in each feature direction, corresponding to a 95% probability that an object at its centre will remain within its range in the next frame. The green region indicates a case where multiple objects are within a single region of ambiguity. The trackability of this dataset (number of regions = 40, number of objects = 13) is 0.49.>{{ :usage:featspacepartition.png?600 }}</imgcaption> 
  
 In FAST, $\beta_t$ is adaptively chosen to account for the problem of **link ambiguity**. As an informal introduction to this problem, consider the system in <imgref Fig3>a. Two objects are moving through a normalised feature space between frame $t$ and $t+1$ - our task, as usual, is to assign links between the two frames. The best guess we can possibly make based on the information available to us is to link the nearest neighbours in this feature space. However, in reality, this assignment is incorrect. A good tracking algorithm should therefore be able to detect instances where such ambiguous assignments might occur, and suppress linking in these cases. (Note that these ambiguous links are distinct from the false links caused by mis-segmentations etc. as discussed in [[usage:tracking_algorithm#the_challenge_of_tracking|the overview section]]. These are in principle separate problems, but in practise a choice of $\beta_t$ stringent enough to suppress ambiguous links is also stringent enough to suppress false links.) In FAST, $\beta_t$ is adaptively chosen to account for the problem of **link ambiguity**. As an informal introduction to this problem, consider the system in <imgref Fig3>a. Two objects are moving through a normalised feature space between frame $t$ and $t+1$ - our task, as usual, is to assign links between the two frames. The best guess we can possibly make based on the information available to us is to link the nearest neighbours in this feature space. However, in reality, this assignment is incorrect. A good tracking algorithm should therefore be able to detect instances where such ambiguous assignments might occur, and suppress linking in these cases. (Note that these ambiguous links are distinct from the false links caused by mis-segmentations etc. as discussed in [[usage:tracking_algorithm#the_challenge_of_tracking|the overview section]]. These are in principle separate problems, but in practise a choice of $\beta_t$ stringent enough to suppress ambiguous links is also stringent enough to suppress false links.)
Line 114: Line 115:
 Reliability is a scale-invariant and dimensionless statistic, allowing it to be directly compared between different features. Note that division by $\sigma_{t,\phi}$ occurs both when creating the normalised feature space and in the above equation - $r_{t,\phi}$ is therefore a metric of the size of the normalised feature space. Reliability is a scale-invariant and dimensionless statistic, allowing it to be directly compared between different features. Note that division by $\sigma_{t,\phi}$ occurs both when creating the normalised feature space and in the above equation - $r_{t,\phi}$ is therefore a metric of the size of the normalised feature space.
  
-As a loose conceptualisation, reliability can be regarded as the number of **regions of ambiguity** each feature partitions the feature space into. If two or more objects are within the same region of ambiguity at time $t$, they cannot be reliably distinguished at time $t+1$. To be explicit, let us suppose that an object is at some position $\hat{f}_{t,\phi}$ in a one-dimensional normalised feature space. Under our assumption that $\Delta \hat{f}_{t,\phi}$ is a normalised Gaussian distribution, the object will move to a new position in the next frame within the range $\hat{f}_{t,\phi} - 2 < \hat{f}_{t+1,\phi} < \hat{f}_{t,\phi} + 2$ (one region of ambiguity) with probability 95\%. If there is a single object within this range, the associated link is easy to assign. If there are multiple objects within this range at $t+1$ though, it will be difficult to distinguish the target object based upon this single feature alone. The object closest to the target object's starting position is most likely to be the target, but there is still a high probability that one of the other objects within this window is the true target.+As a loose conceptualisation, reliability can be regarded as the number of **regions of ambiguity** each feature partitions the feature space into. If two or more objects are within the same region of ambiguity at time $t$, they cannot be reliably distinguished at time $t+1$. To be explicit, let us suppose that an object is at some position $\hat{f}_{t,\phi}$ in a one-dimensional normalised feature space. Under our assumption that $\Delta \hat{f}_{t,\phi}$ is a normalised Gaussian distribution, the object will move to a new position in the next frame within the range $\hat{f}_{t,\phi} - 2 < \hat{f}_{t+1,\phi} < \hat{f}_{t,\phi} + 2$ (one region of ambiguity) with probability 95%. If there is a single object within this range, the associated link is easy to assign. If there are multiple objects within this range at $t+1$ though, it will be difficult to distinguish the target object based upon this single feature alone. The object closest to the target object's starting position is most likely to be the target, but there is still a high probability that one of the other objects within this window is the true target.
  
 As increasing numbers of features are added, the feature space is partitioned into more and more regions of ambiguity. To illustrate this effect, <imgref Fig3>b shows the normalised $x$-$y$ feature space $\hat{\mathbf{f}}$ derived from the feature space shown in <imgref Fig1>. The initially square domain has been stretched into a rectangle by the lower variability of movement in the $x$-direction than in the $y$-direction, corresponding to a greater value of $r_{t,\phi}$ for that feature. As a result, $\hat{\mathbf{f}}$ is split into 10 regions along the $x$-axis, while it is split into 4 along the $y$-axis. The total number of regions of ambiguity is therefore 40. This multiplicative property captures the effect of adding additional feature information - as more and more features are added, it becomes increasingly easy to unambiguously assign links across frames. As increasing numbers of features are added, the feature space is partitioned into more and more regions of ambiguity. To illustrate this effect, <imgref Fig3>b shows the normalised $x$-$y$ feature space $\hat{\mathbf{f}}$ derived from the feature space shown in <imgref Fig1>. The initially square domain has been stretched into a rectangle by the lower variability of movement in the $x$-direction than in the $y$-direction, corresponding to a greater value of $r_{t,\phi}$ for that feature. As a result, $\hat{\mathbf{f}}$ is split into 10 regions along the $x$-axis, while it is split into 4 along the $y$-axis. The total number of regions of ambiguity is therefore 40. This multiplicative property captures the effect of adding additional feature information - as more and more features are added, it becomes increasingly easy to unambiguously assign links across frames.
Line 140: Line 141:
 where $\Gamma()$ indicates the gamma function. To assign $\beta_t$, the user defines a target ambiguous assignment probability $p$. This is then transformed to $\beta_t$ through the above equation for each timepoint. Note that $\beta_t$ is calculated according to the metric of the normalised feature space, meaning it is not reliant upon the ad-hoc definition of `regions of ambiguity' previously discussed. where $\Gamma()$ indicates the gamma function. To assign $\beta_t$, the user defines a target ambiguous assignment probability $p$. This is then transformed to $\beta_t$ through the above equation for each timepoint. Note that $\beta_t$ is calculated according to the metric of the normalised feature space, meaning it is not reliant upon the ad-hoc definition of `regions of ambiguity' previously discussed.
  
-Defining $\beta_t$ in this way allows us to automatically change the stringency of the tracking algorithm according to the properties of the dataset. When a system is at low density or the degree of movement is small, ambiguous links will occur fairly rarely and link assignment need not be very stringent. At the other extreme, with high levels of system noise or high system density, ambiguous links will be common. Links should therefore only be assigned when the evidence for object identity between frames is extremely strong, //i.e.// $\beta_t$ should be made extremely stringent to ensure that incorrect links are not accepted.+Defining $\beta_t$ in this way allows us to automatically change the stringency of the tracking algorithm according to the properties of the dataset. When a system is at low density or the degree of movement is small, ambiguous links will occur fairly rarely and link assignment need not be very stringent. At the other extreme, with high levels of system noise or high system density, ambiguous links will be common. Links should therefore only be assigned when the evidence for object identity between frames is extremely strong, //i.e.// $\beta_t$ should be made extremely small to ensure that incorrect links are not accepted.
  
 ===== High-fidelity linking and gap closure ===== ===== High-fidelity linking and gap closure =====
  
-\label{sec:GoodLinking} +To perform high-fidelity tracking, we now determine link scores $\hat{Q}_{i,j}$ in a similar fashion as during the [[usage:tracking_algorithm#collection_of_the_training_dataset|creation of the training dataset]]. However, the normalised feature space is instead used:
- +
-To perform high-fidelity tracking, we now determine link scores $\hat{Q}_{i,j}$ in a similar fashion as during the creation of the training dataset (equation \ref{eq:DistanceMin}). However, the normalised feature space is instead used:+
  
 \begin{equation} \begin{equation}
- \hat{Q}_{i,j} = \|\hat{\bm{f}}_{t+1,j} - \hat{\bm{f}}_{t,i}\|. + \hat{Q}_{i,j} = \|\hat{\mathbf{f}}_{t+1,j} - \hat{\mathbf{f}}_{t,i}\|.
- \label{eq:IsoTrackingScore}+
 \end{equation} \end{equation}
  
-\noindent +In assigning links from the matrix $\hat{Q}_{i,j}$, many tracking algorithms optimise the set of links given the scores of all putative links using matching methods such as the [[https://onlinelibrary.wiley.com/doi/abs/10.1002/nav.20053|Hungarian algorithm]] or the [[https://epubs.siam.org/doi/abs/10.1137/0202019|Hopcraft-Karp algorithm]]. However, the extra information provided by additional features is usually sufficient to determine a single, unambiguous link between object $i$ and the set of objects at the next timepoint. As these more advanced matching algorithms are computationally expensive, FAST employs a simple greedy algorithm to assign links: given a matrix of putative link scores, the lowest score is taken and the corresponding link marked as correct. The sets of scores corresponding to the $i$ and the target object are then eliminated, and the next lowest scoring link marked as correct. This algorithm loops until scores raise above $\beta_t$; scores above this threshold are considered to correspond to false links, and linking for these objects is suppressed.
-In assigning links from the matrix $\hat{Q}_{i,j}$, many tracking algorithms optimise the set of links given the scores of all putative links using matching methods such as the Hungarian algorithm \cite{Falconnet2011} or the Hopcraft-Karp algorithm \cite{Hopcroft1973}. However, the extra information provided by additional features is usually sufficient to determine a single, unambiguous link between object $i$ and the set of objects at the next timepoint. As these more advanced matching algorithms are computationally expensive, FAST employs a simple greedy algorithm to assign links: given a matrix of putative link scores, the lowest score is taken and the corresponding link marked as correct. The sets of scores corresponding to the $i$ and the target object are then eliminated, and the next lowest scoring link marked as correct. This algorithm loops until scores raise above $\beta_t$; scores above this threshold are considered to correspond to false links, and linking for these objects is suppressed.+
  
 This initial linking run will miss objects that mis-segment in frame $t + 1$ but segment properly in frame $t + 2$ (or higher). To close these gaps, once all objects associated with links made between frames $t$ to $t + 1$ have been removed, $\hat{Q}_{i,j}$ is recalculated for objects $i$ in frame $t$ and objects $j$ in frame $t + 2$. Because the normalised displacement space is an isotropic multivariate Gaussian distribution, we can assume that the movement of an object through it is diffusive. Its displacement from its starting position should therefore be proportional to $\sqrt{\tau}$ (where $\tau$ is the lag between the starting time and the currently considered timepoint). To account for this, the threshold $\beta_t$ to is raised to $\sqrt{2} \beta_t$ for this second linking step. This assignment is repeated between frames $t$ and $t + \tau$ for all values of $\tau$ up to a user-defined maximal gap closure parameter. At each value of $\tau$, the value of $\beta_t$ is rescaled to $\sqrt{\tau}\beta_t$. This initial linking run will miss objects that mis-segment in frame $t + 1$ but segment properly in frame $t + 2$ (or higher). To close these gaps, once all objects associated with links made between frames $t$ to $t + 1$ have been removed, $\hat{Q}_{i,j}$ is recalculated for objects $i$ in frame $t$ and objects $j$ in frame $t + 2$. Because the normalised displacement space is an isotropic multivariate Gaussian distribution, we can assume that the movement of an object through it is diffusive. Its displacement from its starting position should therefore be proportional to $\sqrt{\tau}$ (where $\tau$ is the lag between the starting time and the currently considered timepoint). To account for this, the threshold $\beta_t$ to is raised to $\sqrt{2} \beta_t$ for this second linking step. This assignment is repeated between frames $t$ and $t + \tau$ for all values of $\tau$ up to a user-defined maximal gap closure parameter. At each value of $\tau$, the value of $\beta_t$ is rescaled to $\sqrt{\tau}\beta_t$.
Line 162: Line 159:
 ===== Division tracking ===== ===== Division tracking =====
  
-The tracking algorithm described in the previous sections can easily be adapted to permit detection of cellular divisions. Divisions are events that are associated with large but predictable jumps in feature space from mother to daughter cells. For example, in the case of the division of \textit{P. aeruginosa}, division typically causes area and length to halve, while the position of daughter cells can be inferred from mother cell length and orientation.+The tracking algorithm described in the previous sections can easily be adapted to permit detection of cellular divisions. Divisions are events that are associated with large but predictable jumps in feature space from mother to daughter cells. For example, in the case of the division of //P. aeruginosa//, division typically causes area and length to halve, while the position of daughter cells can be inferred from mother cell length and orientation. 
 + 
 +To initialise the division tracking algorithm following the feature tracking algorithm, separate versions of $\mathbf{f}$ are constructed from the feature vectors associated with the beginning and ends of those tracks constructed in the [[usage:tracking_algorithm#high-fidelity_linking_and_gap_closure|previous section]]. These vectors represent the states of daughter cells at birth and mother cells at division, respectively. $\bar{\mathbf{f}}$ and $\hat{\mathbf{f}}$ are now generated in a similar fashion as before, with two crucial differences: firstly, $\mathbf{\Sigma}$ and $\mathbf{\mu}$ are calculated from the set of feature vectors compiled across all timepoints. This compensates for the comparatively low number of divisions present in the dataset, and prevents statistical noise from dominating $\hat{\mathbf{f}}$. Secondly, a model is applied that predicts the feature vector of two daughter cells based on the feature vector of each mother cell. For example, the length of each daughter cell is predicted as half that of the mother, but the orientation of the daughters remains the same as for the mother. The training dataset $\bar{\mathbf{f}}$ is then generated based on links made between this predicted feature dataset (based on the maternal cell's $\mathbf{f}$) and the actual feature dataset (based on the daughter cell's $\mathbf{f}$). Feature normalisation and discrimination threshold selection is then applied by treating the predicted daughter feature vectors as $\mathbf{f}_t$ and the actual daughter feature vectors as $\mathbf{f}_{t+1}$. Links are assigned as described in [[usage:tracking_algorithm#high-fidelity_linking_and_gap_closure|the previous section]]. 
 + 
 +===== Appendix: Normalisation of correlated displacement spaces ===== 
 + 
 +From the equation at the end of the [[usage:tracking_algorithm#the_challenge_of_tracking|introductory section]], we have: 
 + 
 +\begin{equation} 
 +\mathbf{f}_{t+1} = \mathbf{f}_{t} + \mathbf{w}_{t}, 
 +\end{equation} 
 + 
 +where $\mathbf{w}_t$ indicates a random vector drawn from the distribution $\mathcal{N}(\mathbf{\mu}_t, \mathbf{\Sigma}_t)$ with location $\mathbf{\mu}_t$ and covariance matrix $\mathbf{\Sigma}_t$. 
 + 
 +$\mathbf{\mu}_t$ can be calculated from the training feature displacement set $\mathbf{f}_{t,i}$ simply by finding the sample average for each feature, as for the uncorrelated case. To relax the requirement that $\mathbf{\Sigma}_t$ be diagonal, it can be estimated as the sample covariance matrix: 
 + 
 +\begin{equation} 
 +\boldsymbol{\Sigma}_t = \frac{1}{n_t-1} \sum_{i=1}^{n_t} (\Delta \mathbf{f}_{t,i} - \mathbf{\mu}_t) (\Delta \mathbf{f}_{t,i} - \mathbf{\mu}_t)^\intercal, 
 +\end{equation} 
 + 
 + 
 +for each link in the training dataset, $i$ to $n_t$. 
 + 
 +To generate the normalised feature space $\hat{\mathbf{f}}_t$, we need to find some transformation matrix $\mathbf{B}$ that can be applied to $\mathbf{f}_{t+1}$ and $(\mathbf{f}_{t+1} - \mathbf{\mu}_t)$ to set $\mathbf{\Sigma}_t$ to the identity matrix of equivalent dimension; this is also known as a [[https://en.wikipedia.org/wiki/Whitening_transformation|whitening transformation]]. For a given covariance matrix $\mathbf{\Sigma}_t$ there are theoretically an infinite number of whitening transformations, but FAST applies the uniquely-defined transformation based on the eigendecomposition of $\mathbf{\Sigma}_t$: 
 + 
 +\begin{equation} 
 +\mathbf{\Sigma} = \mathbf{U}\mathbf{\Lambda}\mathbf{U}^{-1}. 
 +\end{equation} 
 + 
 +Noting that $\mathbf{\Lambda} = \mathbf{\Lambda}^{\frac{1}{2}}\mathbf{I}\mathbf{\Lambda}^{\frac{1}{2}}$ and that $\mathbf{U}^{-1} = \mathbf{U}^\intercal$, the whitening transform $\mathbf{B}$ is then given as:  
 + 
 +\begin{equation} 
 + \mathbf{B} = \mathbf{\Lambda}^{\frac{1}{2}}\mathbf{U}^\intercal. 
 +\end{equation} 
 + 
 +The normalised feature space is then given as: 
 + 
 +\begin{equation} 
 + \hat{\mathbf{f}}_{t} = \mathbf{B}_t\mathbf{f}_{t}, 
 +\end{equation} 
 + 
 +\begin{equation} 
 + \hat{\mathbf{f}}_{t+1} = \mathbf{B}_t(\mathbf{f}_{t + 1} - \mathbf{\mu}_t). 
 +\end{equation} 
 + 
 +Feature reliability is not easy to define in this new space, as $\mathbf{B}_t$ will not in general preserve the orientation of the feature axes. This contrasts to the case when $\mathbf{\Sigma}_t$ was diagonal, where $\mathbf{B}_t$ scaled the feature space parallel to each feature axis. However, the volume of the space can still be defined as the (hyper)volume of the $\Phi$-parallelotope corresponding to the transformed feature domain, //i.e.// the parallelotope with corners at positions $\mathbf{p}_t = \mathbf{B}_t\mathbf{E}_t$ where $\mathbf{E}_t$ is the matrix with diagonal elements that are the extent $e_{t,\phi}$ of each feature. The feature density is then given as: 
 + 
 +\begin{equation} 
 +d_t = \frac{n_t}{-\det(\mathbf{p}_t)}. 
 +\end{equation}
  
-To initialise the division tracking algorithm following the feature tracking algorithm, separate versions of $\bm{f}$ are constructed from the feature vectors associated with the beginning and ends of \mccorrect{those tracks constructed in section} \ref{sec:GoodLinking}. These vectors represent the states of daughter cells at birth and mother cells at division, respectively. $\bar{\bm{f}}$ and $\hat{\bm{f}}$ are now generated in a similar fashion as before, with two crucial differences: firstly, $\bm{\Sigma}$ and $\bm{\mu}$ are calculated from the set of feature vectors compiled across all timepoints. This compensates for the comparatively low number of divisions present in the dataset, and prevents statistical noise from dominating $\hat{\bm{f}}$. Secondly, a model is applied that predicts the feature vector of two daughter cells based on the feature vector of each mother cell. For example, the length of each daughter cell is predicted as half that of the mother, but the orientation of the daughters remains the same as for the mother. The training dataset $\bar{\bm{f}}$ is then generated based on links made between this predicted feature dataset (based on the maternal cell's $\bm{f}$) and the actual feature dataset (based on the daughter cell's $\bm{f}$). Feature normalisation and discrimination threshold selection is then applied by treating the predicted daughter feature vectors as $\bm{f}_t$ and the actual daughter feature vectors as $\bm{f}_{t+1}$. Links are assigned as described in section \ref{sec:GoodLinking}.+The trackability $k_t$ and ambiguous link assignment probability $p$ are then calculated as for the uncorrelated case.
  
  • usage/tracking_algorithm.1565197572.txt.gz
  • Last modified: 2019/08/07 18:06
  • by pseudomoaner