Skip to main content

Basic Python wrapper for Plastimatch

Project description

PyPlastimatch

WORK IN PROGRESS - dummy python plastimatch wrapper and other useful functions for exploration etc.

Table of Contents

Dependencies

In order to run the code found in this repository, all the python libraries found in requirements.txt must be installed. This can be achieved running the command:

pip3 install -r requirements.txt

In addition, you will need to download plastimatch by running:

sudo apt install plastimatch

and the DICOM for Quantitative Imaging (dcmqi) library (e.g., under Linux, download the latest release, move the content of the bin folder under usr/local/bin, and make the files executable).

Usage Example

Since Plastimatch and this wrapper are being used for the development of AI-base medical image analysis pipelines on the NIH CRDC Imaging Data Commons plaftorm, some examples on how to use PyPlastimatch can be found at the IDC-Examples/notebooks repository.

For instance, the "Cohort Preparation" Colab notebook contains a simple tutorial on how to get a cohort ready for any image processing applications (e.g., best practices for the conversion from DICOM to NRRD and NIfTI, pointers to pre-processing utilities).

To open the Colab notebook, click here: Open In Colab

Note: provided you have a Google Cloud Platform project correctly setup, you will be able to run this and all the other notebooks for free, completely on the cloud.

Further Reading

Paolo Zaffino's (un)"official" wrapper.

Further discussion about the python-wrapping of Plastimatch can be found at this discourse.slicer thread.

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

pyplastimatch-0.1.tar.gz (44.7 kB view hashes)

Uploaded Source

Built Distribution

pyplastimatch-0.1-py3-none-any.whl (32.8 kB view hashes)

Uploaded Python 3

Supported by

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