Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified docs/assets/fiji_align_channels.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/fiji_correct_drift.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/fiji_correct_drift_form.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/assets/napari_correct_drift.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
31 changes: 20 additions & 11 deletions docs/napari_fiji.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,10 @@ each program can do with the tools of an app:

![Correct drift in napari](assets/napari_correct_drift.png)

*Correct drift (time-lapse) in napari: the form on the right, the corrected
movie, and the drift table with one row per timepoint (translation applied, in
pixels).*
*Correct drift (time-lapse) in napari on the published Fast4DReg large-drift
movie (25 timepoints × 69 slices, XY and Z correction): the form on the right,
the corrected movie, and the drift table with one row per timepoint
(translation applied, in pixels).*

## In Fiji

Expand All @@ -57,13 +58,21 @@ pixels).*

![The Correct drift form in Fiji](assets/fiji_correct_drift_form.png)

*The form of Correct drift (time-lapse) in Fiji. Advanced settings are at the
bottom.*
*The form of Correct drift (time-lapse) in Fiji, on the published large-drift
movie. Advanced settings are at the bottom.*

![Correct drift in Fiji](assets/fiji_correct_drift.png)

*The raw movie (left) and the corrected one (`Fast4DRegPy:registered`), both at
the last timepoint, and the drift table. The result is a hyperstack with its Z
and T sliders.*

![Align channels in Fiji](assets/fiji_align_channels.png)

*Align channels in Fiji on a 3-channel image: the aligned stack and the shift
of each channel.*
*Align channels in Fiji on the published calibration slide (3 channels × 25
slices, XY and Z): the raw image (left), the aligned one and the shift of each
channel. Both are shown as composites (Image > Color > Make Composite) so the
colour fringes of the raw beads are visible.*

## The settings

Expand All @@ -73,10 +82,10 @@ the same names, plus **Axes**. The **Reference channel** is counted from 0

## Good to know

- **A corrected movie with several dimensions opens in Fiji as one long
stack.** Use *Image > Hyperstacks > Stack to Hyperstack*, with the numbers
of slices and frames of your movie, to get the sliders back. napari keeps
the dimensions.
- **Results keep their dimensions.** In Fiji the corrected movie opens as a
hyperstack with its time points, slices and channels (with LabConstrictor
tools 0.3.0a4 or later; older ones give one long stack, fixed with *Image >
Hyperstacks > Stack to Hyperstack*). napari keeps the dimensions.
- **Corrected images are 32-bit** (`float32`) unless you choose the output type
`input` (advanced settings).
- **The result is a copy.** Your image is not changed. The result files
Expand Down
26 changes: 26 additions & 0 deletions labconstrictor-app.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,29 @@ distribution:
installer: true
pip: fast4dregpy
icon: app/logo/fast4dregpy.png
license: MIT
status: Available
doi: 10.1242/jcs.260728
docs_url: https://github.com/CellMigrationLab/Fast4DRegPy/blob/main/docs/index.md
categories: [registration, drift correction]
inputs:
- "2D or 3D time-lapse (TYX, TZYX, TCYX, TZCYX) as TIFF, or the open napari layer or Fiji image"
- "Multichannel image (CYX or ZCYX) for channel alignment"
- "The axes of the image, given explicitly (never guessed)"
outputs:
- "The drift-corrected movie or aligned image (TIFF, float32 or the input type)"
- "A drift table: the translation (dz, dy, dx) applied to each timepoint or channel, in pixels"
limitations:
- "Translations only: no rotation, scaling or non-rigid deformation"
- "Z drift needs enough slices; on about 10 or fewer it is underestimated, as in Fiji Fast4DReg"
- "The whole movie is held in memory"
quickstart:
- "Install the app, then open its notebook from the app menu (or use the napari or Fiji tools)"
- "Choose your movie and give its axes, for example TZYX"
- "Choose what to correct (XY, Z) and run; check the drift table and plots"
- "Save the corrected movie and the drift table"
screenshots:
- path: docs/assets/napari_correct_drift.png
caption: "Correct drift in napari on the published Fast4DReg large-drift movie, with the drift table"
- path: docs/assets/fiji_align_channels.png
caption: "Align channels in Fiji on the published calibration slide: raw, aligned and the shift of each channel"
Loading