Skip to main content

No project description provided

Project description

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.

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

mousetumorpy-0.0.5.tar.gz (51.4 kB view details)

Uploaded Source

Built Distribution

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

mousetumorpy-0.0.5-py3-none-any.whl (40.3 kB view details)

Uploaded Python 3

File details

Details for the file mousetumorpy-0.0.5.tar.gz.

File metadata

  • Download URL: mousetumorpy-0.0.5.tar.gz
  • Upload date:
  • Size: 51.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mousetumorpy-0.0.5.tar.gz
Algorithm Hash digest
SHA256 7772fc77b3b0cfc572ed9569a5b45bf5dd139e08e11c240cba7463d4975bf3e9
MD5 e5abbd84c4243b3b19e2d1ed59b0a033
BLAKE2b-256 9f410c4db4f343835b0f697a9dcf00a0e774fc608b1b6c810f428d987cd6d873

See more details on using hashes here.

File details

Details for the file mousetumorpy-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: mousetumorpy-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 40.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for mousetumorpy-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 64648c5201c45fa8e855970a1282123357ec54bafda337e10ff971c7e8157335
MD5 57a4fb7ec42506011d66c66b2a8495cb
BLAKE2b-256 9e92670f4d66d637425830aa5676fe175eec94181821ca76fbdc34ee0d73ddfc

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