You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: _pages/plugins/snt/manual.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -182,7 +182,7 @@ _Reconstruction Plotter_ is a whole-purpose 2D viewer for neuronal reconstructio
182
182
- Can be combined in multi-panel viewers (mainly via scripting)
183
183
184
184
#### Apply 3D Drift Corrections...
185
-
A convenience alias for [Correct 3D Drift](/plugins/correct-3d-drift), which can correct abrupt displacements as well as slow drifts in video timelapses. It is recommended that you run _Correct 3D Drift_ on large time-lapse videos _before_ loading the image in SNT to avoid running out of RAM. See [Time-lapse analysis walkthrough](/plugins/snt/step-by-step-instructions#time-lapse-analysis) for details.
185
+
A convenience wrapper for [Correct 3D Drift](/plugins/correct-3d-drift) that can correct abrupt displacements as well as slow drifts in video timelapses. See [Time-lapse analysis walkthrough](/plugins/snt/step-by-step-instructions#time-lapse-analysis) for details.
Copy file name to clipboardExpand all lines: _pages/plugins/snt/scripting.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ SNT Scripts are intentionally written in multiple languages to demonstrate flexi
21
21
22
22
## Bundled Templates
23
23
{% include img align="right" src="/media/plugins/snt/snt-scripts-menu.png" width="200px" caption="Scripts menu in main dialog"%}
24
-
There are ~50 scripts currently bundled in SNT. These are organized into non-rigid categories: *Analysis* (typically handling quantifications) , *Batch* (Bulk processing of files), *Render* (visualization), *Skeletons & ROIs* (pixel-based analyses), *Tracing* (Tracing-related tasks), and *Demos*.
24
+
There are 50+ scripts currently bundled in SNT. These are organized into non-rigid categories: *Analysis* (typically handling quantifications) , *Batch* (Bulk processing of files), *Render* (visualizations), *Skeletons & ROIs* (pixel-based analyses), *Tracing* (Tracing-related tasks), and *Demos* (teaching examples).
25
25
26
26
Your script can also be bundled with SNT, or made available through the Neuroanatomy update site. Did you write a useful routine? Please [announce it](https://forum.image.sc/tag/snt), or submit a [pull request](https://github.com/morphonets/SNT/pulls) so that it can be distributed with Fiji!
Copy file name to clipboardExpand all lines: _pages/plugins/snt/step-by-step-instructions.md
+15-8Lines changed: 15 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -277,22 +277,29 @@ There are two demo datasets ({% include bc path='File|Load Demo Dataset...' %})
277
277
{% endcapture %}
278
278
{% include notice icon="info" content=timelapse-demo %}
279
279
280
-
1. The first step is to ensure that the time-series is not affected by artifactual motion. Fiji features a host of registration tools to mitigate such artifacts. Arguably, one of the most intuitive of such tools is [Correct 3D Drift](/plugins/correct-3d-drift) because it can correct abrupt displacements as well as slow drifts. You can run it using [Apply 3D Drift Corrections...](/plugins/snt/manual#apply-3d-drift-corrections) if your image is small, but if your time-lapse video is rather large it is recommended that you run registration routines _before_ loading the image in SNT to avoid running out of RAM. The illustration below highligths the type of mitigation you should expect:
280
+
{% include img align="right" name="Drift correction" src="/media/plugins/snt/snt-timelapse-drift-correction.png" caption="**Mitigation of motion artifacts**. Left: Projection of inter-frame differences across the original time-lapse sequence. Right: Inter-frame differences of the same time-lapse after 3D drift correction. Neurite displacements are color coded with warmer hues indicating higher motility. Note how lateral motion around the soma and along the longest extending neurite (lower left) has been minimized. Hue ramp has been scaled to the smallest (min) and largest (max) displacements in the sequence." %}
281
281
282
-
{% include img align="center" name="Drift correction" src="/media/plugins/snt/snt-timelapse-drift-correction.png" caption="**Mitigation of motion artifacts**. Left: Projection of inter-frame differences across the original time-lapse sequence. Right: Inter-frame differences of the same time-lapse after 3D drift correction. Neurite displacements are color coded with warmer hues indicating higher motility. Note how lateral motion around the soma and along the longest extending neurite (lower left) has been minimized. Hue ramp has been scaled to the smallest (min) and largest (max) displacements in the sequence." %}
282
+
The first step is to ensure that the time-series is not affected by artifactual motion. Fiji features a host of registration tools to mitigate such artifacts. Arguably, one of the most intuitive of such tools is [Correct 3D Drift](/plugins/correct-3d-drift) because it can correct abrupt displacements as well as slow drifts.
283
283
284
-
2. Specify the first time-point to be traced using the [Data Source](/plugins/snt/manual#data-source) widget
284
+
SNT features [Apply 3D Drift Corrections...](/plugins/snt/manual#apply-3d-drift-corrections), a convenience wrapper for _Correct 3D Drift_ that applies drift correction to the image being traced, as well existing paths. However, if your time-lapse video is rather large it is recommended that you run _Correct 3D Drift_ (or alternative registration routine) _before_ loading the image in SNT to avoid running out of RAM. The illustration below highligths the type of mitigation you should expect.
285
285
286
-
3. Trace the path of interest. This can be done manually or perhaps automated via a script (see below)
287
286
288
-
4. Repeat 1. and 2. for all the frames to be traced. There are a couple of ways to expedite tracing across frames:
287
+
Once undesired motion has been mitigated:
288
+
289
+
290
+
1. Specify the first time-point to be traced using the [Data Source](/plugins/snt/manual#data-source) widget
291
+
292
+
2. Trace the path of interest. This can be done manually or perhaps automated via a script (see below)
293
+
294
+
3. Repeat 1. and 2. for all the frames to be traced. There are a couple of ways to expedite tracing across frames:
289
295
290
296
- Duplicate the path(s) of interest using Path Manager's {% include bc path='Edit|[Duplicate...](/plugins/snt/manual#duplicate)' %} This will allow you to copy a path (and its children) to a new frame (or channel). If a neurite is retracting, you can duplicate the subsection of the path that better matches the retracted neurite: e.g., by restricting the duplication to a fraction of the path's total length, or up to a branch-point
291
297
292
298
- Use a script to attempt segmentation at each frame, as in the _Segmented video (2D timelapse)_ demo ({% include bc path='File|Load Demo Dataset...' %})
293
-
<imgalign="right"src="/media/plugins/snt/snt-match-paths-across-time.png"title="MatchPath(s) Across Time... prompt"width="350"alt="MatchPath(s) Across Time... prompt" />
294
299
295
-
5. Run Path Manager's {% include bc path='Analyze|Time-lapse Utilities|Match Path(s) Across Time...' %}. The dialog allows you to match paths in the same time-series to a common neurite. Note that the command matches only selected path(s) (or all paths if no selection exists), but ignores Paths tagged as 'soma'. Options include:
300
+
4. Run Path Manager's {% include bc path='Analyze|Time-lapse Utilities|Match Path(s) Across Time...' %}. The dialog allows you to match paths in the same time-series to a common neurite. Note that the command matches only selected path(s) (or all paths if no selection exists), but ignores Paths tagged as 'soma'. Options include:
301
+
302
+
<imgalign="right"src="/media/plugins/snt/snt-match-paths-across-time.png"title="MatchPath(s) Across Time... prompt"width="350"alt="MatchPath(s) Across Time... prompt" />
296
303
297
304
-**Frame range** Only paths associated with these frames will be considered for matching. Range(s) (e.g. <tt>2-14</tt>), and comma-separated list(s) (e.g. <tt>1,3,20,22</tt>) are accepted. Leave empty or type <tt>all</tt> to consider all frames
298
305
@@ -308,7 +315,7 @@ There are two demo datasets ({% include bc path='File|Load Demo Dataset...' %})
308
315
309
316
- NB: Note that any mistakes by the matching algorithm can be corrected by editing _neurite#_ tags manually
310
317
311
-
6. Once paths have been matched across the time-lapse to common neurites, future analysis becomes simplified. {% include bc path='Analyze|Time-lapse Utilities|Time Profile...' %} can be used to e.g. plot growth across time. {% include bc path='Time Profile...' %} includes the following options:
318
+
5. Once paths have been matched across the time-lapse to common neurites, future analysis becomes simplified. {% include bc path='Analyze|Time-lapse Utilities|Time Profile...' %} can be used to e.g. plot growth across time. {% include bc path='Time Profile...' %} includes the following options:
312
319
313
320
-**Metric** the measurement to be profiled across time
0 commit comments