Drag and drop/write tracks from/to the Cell Tracking Challenge (CTC) format.
Project description
napari-ctc-io
-
Drag and drop annotations/results in the Cell Tracking Challenge (CTC) format into napari.
Works for
TRA,RES, etc. folders, which contain a time sequence of segmentations intiffformat, and a corresponding tracklet file*.txt. -
Write tracked cells (
labelslayer & correspondingtrackslayer) to CTC format (see usage below).
https://github.com/bentaculum/napari-ctc-io/assets/8866751/197c9ea2-4115-4829-851a-4b77eb843bf2
Installation
You can install napari-ctc-io via pip:
pip install napari-ctc-io
To install latest development version :
pip install git+https://github.com/bentaculum/napari-ctc-io.git
Usage of writer in widget
def _save(self, event=None):
pm = npe2.PluginManager.instance()
outdir = "TRA"
writer_contrib = pm.get_writer(
outdir,
["labels", "tracks"],
"napari-ctc-io",
)[0]
save_layers(
path=outdir,
layers=[
self._viewer.layers["masks_tracked"],
self._viewer.layers["tracks"],
],
plugin="napari-ctc-io",
_writer=writer_contrib,
)
Contributing
Contributions are very welcome. Tests can be run with tox.
License
Distributed under the terms of the BSD-3 license,
napari-ctc-io is free and open source software.
Issues
If you encounter any problems, please file an issue along with a detailed description.
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 napari_ctc_io-0.2.1.tar.gz.
File metadata
- Download URL: napari_ctc_io-0.2.1.tar.gz
- Upload date:
- Size: 1.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
675b1887d97cf6a64b76e6600f24640e2a0c89ec51d00f8a91747c2bf5e802cc
|
|
| MD5 |
d08ebd29ad3785f23b4b5abf88ebfcaf
|
|
| BLAKE2b-256 |
b0b328b392bea5ecc67f3371d5e07c36de75955eee820ed3811c2ed275107a8e
|
File details
Details for the file napari_ctc_io-0.2.1-py3-none-any.whl.
File metadata
- Download URL: napari_ctc_io-0.2.1-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
375e1a233c3a5608b5c8dcec56456d3e324e1a33001a18343cd5c80e45446ea2
|
|
| MD5 |
edf4099690c8c644b73d678984a882a9
|
|
| BLAKE2b-256 |
9c58776241cdd23e3208986f1ce50c005451c7c20a1e1ee3bb92fa1d832f5424
|