Skip to main content
Archived

This project has been archived by its maintainers, and is no longer receiving any updates.

EPFL Center for Imaging logo

🐭 Mousetumorpy

A toolbox to segment and track murine lung tumor nodules in mice CT scans.

Hightlights

  • Lungs segmentation and cropping: Run a pretrained YoloV8 model to segment the lungs and crop the CT scans around them.
  • Tumor segmentation: Run a pretrained nnUNet model to segment tumor nodules in 3D.
  • Tumor tracking: Track tumor nodules longitudinally across CT scans.

Installation

Install the mousetumorpy package with pip:

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

or clone the project and install the development version:

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

Usage from Napari

To use Mousetumorpy's functions interactively in Napari, install the napari-mousetumorpy package.

Usage as a CLI

The command-line interface (CLI) provides several image processing functions.

Crop

Run a YoloV8 model to segment the lungs cavity and crop the image around the lungs.

mousetumorpy crop <image_file> <out_dir>

For more details, see mousetumorpy crop --help.

Predict

Run a nnUNet model to segment tumor nodules.

mousetumorpy predict <image_file> <out_dir>

For more details, see mousetumorpy predict --help.

Combine

Combine several 3D images (ZYX) into a single 4D image (TZYX).

mousetumorpy combine <image_1> <image_2> <image_3> <out_dir>

For more details, see mousetumorpy combine --help.

Track

Track tumor nodules across a 4D mask (TZYX) time series using trackpy or laptrack.

mousetumorpy track <labels_file> <image_file> <lungs_file> <out_dir>

For more details, see mousetumorpy track --help.

License

This project is licensed under the AGPL-3 license.

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

Metadata

Release files for mousetumorpy 0.0.6

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mousetumorpy 0.0.6
File Size Uploaded Provenance Actions
mousetumorpy-0.0.6.tar.gz 51.4 kB Without provenance Details for mousetumorpy-0.0.6.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for mousetumorpy 0.0.6
File Interpreter ABI Platform Actions
mousetumorpy-0.0.6-py3-none-any.whl Python 3 none any Details for mousetumorpy-0.0.6-py3-none-any.whl

Total release size: 91.8 kB

Release files / mousetumorpy-0.0.6.tar.gz

Download URL mousetumorpy-0.0.6.tar.gz
Size 51.4 kB
Tags Source
SHA-256 checksum
How to use checksums
331d46166818a4a6a13c7552c637c65da4fafccf81fc0465509c47149c41949b
BLAKE2b-256 checksum
How to use checksums
b91d712cca8a2a3c682209634a919926b3a13e1e01fc811320b40e7bd1590f4f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Release files / mousetumorpy-0.0.6-py3-none-any.whl

Download URL mousetumorpy-0.0.6-py3-none-any.whl
Size 40.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6e6f4775139c5e1dc69ef0fd991cbf2b54b18705e234c52d0b77553f3be7091c
BLAKE2b-256 checksum
How to use checksums
441723ff03c3d847cf8c5be9fea4f4d2b439519202e49b018cd237e779b1d98a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.25

Security for mousetumorpy 0.0.6

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page