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 details)

Uploaded Source

Built Distribution

pinn2dcm-1.0.0-py3-none-any.whl (7.0 kB view details)

Uploaded Python 3

File details

Details for the file pinn2dcm-1.0.0.tar.gz.

File metadata

  • Download URL: pinn2dcm-1.0.0.tar.gz
  • Upload date:
  • Size: 6.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pinn2dcm-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e7acae163785560358eb74e85523e95dbcff4eca7eca0a7bcd597008c51b764f
MD5 e38c215811c37d884ef65304db26f515
BLAKE2b-256 6bd801c818ab5dadb6243729233d6204a099ab27a4661b06f8b6e648cd3f8abe

See more details on using hashes here.

File details

Details for the file pinn2dcm-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: pinn2dcm-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 7.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for pinn2dcm-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e36724001122c0955b3e2e141971b942609a6c915dd7e623e4d53c473c581880
MD5 5667041157e8edb27441fde0e2ffefa4
BLAKE2b-256 e35cc6863be6ad2c861a70766efba8b60327139d5f26be0084a420116e1928f1

See more details on using hashes here.

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