trackin
A human-in-the-loop cell tracking tool.
This napari plugin was generated with Cookiecutter using @napari's cookiecutter-napari-plugin template.
Installation
You can install trackin via pip:
pip install trackin
To install latest development version :
pip install git+https://github.com/mihaela-mihaylova/trackin.git
Getting Started
- Launch napari (
naparifrom the command line) and open the plugin via Plugins > trackin > Trackin. - Click Load Images and select a folder of per-frame image files.
Files must be named with numeric filenames (e.g.
0.png,1.png, ...), one per frame, in a supported format:jpg,jpeg,png,tif,tiff,bmp, orgif. - Click Load Detections and select a CSV of detections for those
frames. Required columns:
tframe,y,x. Optional columns:displ_y,displ_x(default to0if omitted), andtrack_no(include it if the detections already belong to tracks from a prior run). - Step through frames with the arrow keys or the frame slider, and left-click a detection to add it to the current track (this also advances to the next frame). Shift-click on the image to add a detection that's missing; right-click, or D, to delete one.
- Use Shift+Q to accept the current track, W to save a segment without ending it, Shift+Z to delete a segment, and X to remove all outgoing connections from the current node. The in-app ? button lists the full set of mouse and keyboard shortcuts.
- Optionally, click Add Track File to load a
track_session_*.csvfrom a previous session so newly accepted tracks continue its track numbering instead of restarting from 1. It must have exactly these columns, in this order:tframe, y, x, displ_y, displ_x, track_no.
Accepted tracks are appended to a track_session_*.csv file saved next to
the detections CSV; any detections not yet assigned to a track are kept in
an upd_*.csv file in the same folder.
Contributing
Contributions are very welcome. Tests can be run with tox, please ensure the coverage at least stays the same before you submit a pull request.
License
Distributed under the terms of the GNU GPL v3.0 license, "trackin" is free and open source software
Issues
If you encounter any problems, please file an issue along with a detailed description.
Release files for trackin 0.1.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| trackin-0.1.1.tar.gz | 71.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| trackin-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 129.9 kB
Release files / trackin-0.1.1.tar.gz
| Download URL | trackin-0.1.1.tar.gz |
|---|---|
| Size | 71.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7885c2becfa66b64e44c00d0a608ba389df645601a80003d14ff24ef6e046de1
|
|
BLAKE2b-256 checksum How to use checksums |
8e3ea2e69f9f129232741ee2d31a4c66be167f0b2f25fe625bfa6183a983c116
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|
Release files / trackin-0.1.1-py3-none-any.whl
| Download URL | trackin-0.1.1-py3-none-any.whl |
|---|---|
| Size | 58.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
28d70cd28605803c41d0f9e8defafe67e7243fc791e92b7c95560db46f01757a
|
|
BLAKE2b-256 checksum How to use checksums |
a69ab1d10bf1e2c6e99f0f74147763b5e6f8253a10030bf05a01b5c5bb1670bb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.20
|