Skip to main content

A Python package to convert old Pinnacle CTs to the DICOM format

Project description

Pinn2DCM

Introduction

This modules serves to convert old Pinnacle CTs into the DICOM format. It can be called from the command line for batch processing, however an optional GUI is also available.

Currently, this module is the minimum viable product. It was tested with a single anonymized dataset, therefore many features that might be of interested are not yet available. Please feel free to contact me if you have any questions or suggestions!

Usage

The script requires you to provide two paths: the path to the Pinnacle CT directory and the path to the output directory. The Pinnacle CT directory needs to contain the following files:

├── Pinnacle CT directory     ├── *.img
│   ├── *.header
│   ├── *.ImageInfo
│   ├── *.ImageSet

To start conversion, run the following command:

$ pinn2dcm "path to Pinnacle CT directory" "path to output directory"   

To start the GUI, run the fcommand without any arguments:

$ pinn2dcm

GUI

Installation

You can either download the repository manually and extract it, use git clone, or install using pip:

$ pip install pinn2dcm   

Note: If Python is not added to your PATH, you may need to preface the above commands with python -m !

Dependencies

  • Numpy
  • Pydicom

Contact

If you have any questions or suggestions, please feel free to contact me at se.schaefer@uke.de!

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

pinn2dcm-1.0.0.tar.gz (6.0 kB view hashes)

Uploaded Source

Built Distribution

pinn2dcm-1.0.0-py3-none-any.whl (7.0 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