Visualize cell tracking errors
Project description
divisualisation
A napari plugin to visualise cell-tracking errors, computed via traccuracy, by lifting 2D/3D+time tracks into an interactive 3D "spacetime" view.
🆕 divisualisation is now a fully fledged napari plugin, with a stateful spacetime lifted view that integrates with regular napari workflows.
| 2D tracking (bacteria) | 3D tracking (C. elegans nuclei) |
|---|---|
We originally introduced these visualisations to compare our results in Trackastra: Transformer-based cell tracking for live-cell microscopy to other cell tracking algorithms.
Installation
-
Please install napari as outlined here.
-
After that, install divisualisation, either:
- from within napari via Plugins → Install/Uninstall Plugins… (search for "divisualisation"),
- or from PyPI:
pip install divisualisation - or the latest development version from GitHub:
pip install git+https://github.com/bentaculum/divisualisation.git
Note: requires Python ≥ 3.11 and napari ≥ 0.8.
Usage
Open Plugins → divisualisation → Lift tracks & Divisualisation. The widget has two independent workflows, each in its own box:
- Lift all tracks layers — fold time into a
zaxis so every tracks layer rises out of the image plane into a 3D "spacetime" cone. Scrub the time slider to sweep through the cone; toggle off to restore the flat view exactly. - Divisualisation — assign ground-truth / predicted / FN-edge / FP-edge tracks layers via the role dropdowns (auto-guessed from layer names), Compute edge errors from the GT/predicted tracks plus their labels, and lift with the error colouring. Color division edges draws each layer's parent→daughter edges as coloured tails (napari otherwise draws them in uncolourable white).
Examples
Run in ipython — each loads data into a viewer, adds the tracks and edge-error overlays, and docks the widget:
example_2d.py— bacteria (2D+t).example_3d.py— C. elegans nuclei (3D+t,zscaled ×10).example_programmatic_2d.py— fully scripted render (no GUI): build layers, lift withSpacetimeLift, overlay errors withadd_edge_error_tracks, capture anapari_animationkeyframe video.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file divisualisation-0.1.0.tar.gz.
File metadata
- Download URL: divisualisation-0.1.0.tar.gz
- Upload date:
- Size: 73.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
df5f71919341487ec9ac91f9dc1a8893e0a88ef91c9ceedf2bf28c72d2d43f6b
|
|
| MD5 |
372334fb81b2c8cbe921d7dd3b8a8a7a
|
|
| BLAKE2b-256 |
2349b62e6af049bff902738db90975b04fe11710b2f9a20ba7fb6764f5b3ec33
|
Provenance
The following attestation bundles were made for divisualisation-0.1.0.tar.gz:
Publisher:
deploy.yml on bentaculum/divisualisation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
divisualisation-0.1.0.tar.gz -
Subject digest:
df5f71919341487ec9ac91f9dc1a8893e0a88ef91c9ceedf2bf28c72d2d43f6b - Sigstore transparency entry: 2229083113
- Sigstore integration time:
-
Permalink:
bentaculum/divisualisation@67bc750ff2feb7efc85873047d511bc2725a58d8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bentaculum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@67bc750ff2feb7efc85873047d511bc2725a58d8 -
Trigger Event:
release
-
Statement type:
File details
Details for the file divisualisation-0.1.0-py3-none-any.whl.
File metadata
- Download URL: divisualisation-0.1.0-py3-none-any.whl
- Upload date:
- Size: 42.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
18aea273a38c5c2bb706d85e39dc67e6a9630bcf00582dd7e89bb9b448608857
|
|
| MD5 |
6543391e92e2738b227ef950e7b432be
|
|
| BLAKE2b-256 |
effd216b6518ac459ab08306d0820e5b3ab2f77f1ff578f4abc4cae6a1a38bf5
|
Provenance
The following attestation bundles were made for divisualisation-0.1.0-py3-none-any.whl:
Publisher:
deploy.yml on bentaculum/divisualisation
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
divisualisation-0.1.0-py3-none-any.whl -
Subject digest:
18aea273a38c5c2bb706d85e39dc67e6a9630bcf00582dd7e89bb9b448608857 - Sigstore transparency entry: 2229083546
- Sigstore integration time:
-
Permalink:
bentaculum/divisualisation@67bc750ff2feb7efc85873047d511bc2725a58d8 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/bentaculum
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
deploy.yml@67bc750ff2feb7efc85873047d511bc2725a58d8 -
Trigger Event:
release
-
Statement type: