diff --git a/docs/assets/fiji_align_channels.png b/docs/assets/fiji_align_channels.png index 4779357..cdc6849 100644 Binary files a/docs/assets/fiji_align_channels.png and b/docs/assets/fiji_align_channels.png differ diff --git a/docs/assets/fiji_correct_drift.png b/docs/assets/fiji_correct_drift.png new file mode 100644 index 0000000..674c18e Binary files /dev/null and b/docs/assets/fiji_correct_drift.png differ diff --git a/docs/assets/fiji_correct_drift_form.png b/docs/assets/fiji_correct_drift_form.png index a582d97..4e8e26c 100644 Binary files a/docs/assets/fiji_correct_drift_form.png and b/docs/assets/fiji_correct_drift_form.png differ diff --git a/docs/assets/napari_correct_drift.png b/docs/assets/napari_correct_drift.png index b8cfad0..519702d 100644 Binary files a/docs/assets/napari_correct_drift.png and b/docs/assets/napari_correct_drift.png differ diff --git a/docs/napari_fiji.md b/docs/napari_fiji.md index f7452ba..bde83cd 100644 --- a/docs/napari_fiji.md +++ b/docs/napari_fiji.md @@ -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 @@ -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 @@ -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 diff --git a/labconstrictor-app.yaml b/labconstrictor-app.yaml index be01e70..b836e7b 100644 --- a/labconstrictor-app.yaml +++ b/labconstrictor-app.yaml @@ -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"