Skip to main content

Tracking tumor nodules in mice CT scans.

Project description

EPFL Center for Imaging logo

💫 Tumor nodules tracking in mice CT scans

We provide a Python package for tracking tumor nodules in mice CT scans. The project is based on Trackpy and Laptrack (algorithms from both libraries are implemented). It also provides a registration utility to align CT scans before tracking objects based on segmentation masks of the lungs cavity produced by the mouselungseg model.

[Installation] [Usage]

This project is part of a collaboration between the EPFL Center for Imaging and the De Palma Lab.

Installation

We recommend performing the installation in a clean Python environment. Install our package from PyPi:

pip install mousetumortrack

or from the repository:

pip install git+https://github.com/EPFL-Center-for-Imaging/mousetumortrack.git

or clone the repository and install with:

git clone git+https://github.com/EPFL-Center-for-Imaging/mousetumortrack.git
cd mousetumortrack
pip install -e .

Usage

Track tumor nodules from a labelled 3D timesereies array:

from mousetumortrack import run_tracking

# labels_timeseries is a 4D array of shape (TZYX)
linkage_df, grouped_df, labels_timeseries_tracked = run_tracking(labels_timeseries)

For more details, see example.py.

Issues

If you encounter any problems, please file an issue along with a detailed description.

License

This project is licensed under the AGPL-3 license.

This project depends on the ultralytics package which is licensed under AGPL-3.

Related projects

Acknowledgements

Special thanks go to Sandra Gebraiel for her contribution to the ideation and exploration of the data and for developing the preliminary code that laid the foundations for this project during the course of her lab immersion in Summer 2024.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

mousetumortrack-0.0.3.tar.gz (44.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

mousetumortrack-0.0.3-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

Details for the file mousetumortrack-0.0.3.tar.gz.

File metadata

  • Download URL: mousetumortrack-0.0.3.tar.gz
  • Upload date:
  • Size: 44.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for mousetumortrack-0.0.3.tar.gz
Algorithm Hash digest
SHA256 cae8bcdbb574ac7195d34803145ed709aafe1587faae2d6d5c01da3913e2704d
MD5 c6a56b8c677615255aaa7360833d7a8e
BLAKE2b-256 7ab14705172220ea043c40a8ecc3b59c1b6cb7f1c049ac0a462c6140b007e1da

See more details on using hashes here.

File details

Details for the file mousetumortrack-0.0.3-py3-none-any.whl.

File metadata

File hashes

Hashes for mousetumortrack-0.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 d434efc8df2d9940f63a1a94403c698dc555890cc030b8e996adf9d209e1f5af
MD5 136b0c4f7413b08372be9726b41b34ad
BLAKE2b-256 471b1177fcdfaa7d600397791cae8d894fc1edf960cc932e7452ea7b9816ee1f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page