# 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:
```bash
├── Pinnacle CT directory
│ ├── *.img
│ ├── *.header
│ ├── *.ImageInfo
│ ├── *.ImageSet
```
To start conversion, run the following command:
```console
$ pinn2dcm "path to Pinnacle CT directory" "path to output directory"
```
To start the GUI, run the fcommand without any arguments:
```console
$ pinn2dcm
```
![GUI](https://user-images.githubusercontent.com/87897942/227711992-3b7791f3-a094-4d1d-bb03-879f56db592f.png)
## Installation
You can either download the repository manually and extract it, use `git clone`, or install using pip:
```console
$ 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!
Raw data
{
"_id": null,
"home_page": "https://github.com/sebasj13/Pinn2DCM",
"name": "pinn2dcm",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": "",
"keywords": "DICOM,Pinnacle,CT,Radiation Therapy,RT",
"author": "Sebastian Sch\u00e4fer",
"author_email": "se.schaefer@uke.de",
"download_url": "https://files.pythonhosted.org/packages/6b/d8/01c818ab5dadb6243729233d6204a099ab27a4661b06f8b6e648cd3f8abe/pinn2dcm-1.0.0.tar.gz",
"platform": null,
"description": "# Pinn2DCM\r\n\r\n## Introduction\r\n\r\nThis 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. \r\n\r\nCurrently, 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!\r\n\r\n## Usage\r\n\r\nThe 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:\r\n```bash\r\n\u251c\u2500\u2500 Pinnacle CT directory \r\n\u2502 \u251c\u2500\u2500 *.img\r\n\u2502 \u251c\u2500\u2500 *.header\r\n\u2502 \u251c\u2500\u2500 *.ImageInfo\r\n\u2502 \u251c\u2500\u2500 *.ImageSet\r\n```\t\r\n\r\nTo start conversion, run the following command:\r\n\r\n```console\r\n$ pinn2dcm \"path to Pinnacle CT directory\" \"path to output directory\" \r\n```\r\n\r\nTo start the GUI, run the fcommand without any arguments:\r\n\r\n```console \r\n$ pinn2dcm\r\n```\r\n\r\n![GUI](https://user-images.githubusercontent.com/87897942/227711992-3b7791f3-a094-4d1d-bb03-879f56db592f.png)\r\n\r\n## Installation\r\n\r\nYou can either download the repository manually and extract it, use `git clone`, or install using pip:\r\n\r\n```console\r\n$ pip install pinn2dcm \r\n```\r\n\r\n#### Note: If Python is not added to your PATH, you may need to preface the above commands with `python -m` !\r\n\r\n## Dependencies\r\n\r\n* Numpy\r\n* Pydicom\r\n\r\n## Contact\r\n\r\nIf you have any questions or suggestions, please feel free to contact me at se.schaefer@uke.de!\r\n",
"bugtrack_url": null,
"license": "",
"summary": "A Python package to convert old Pinnacle CTs to the DICOM format",
"version": "1.0.0",
"split_keywords": [
"dicom",
"pinnacle",
"ct",
"radiation therapy",
"rt"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e35cc6863be6ad2c861a70766efba8b60327139d5f26be0084a420116e1928f1",
"md5": "5667041157e8edb27441fde0e2ffefa4",
"sha256": "e36724001122c0955b3e2e141971b942609a6c915dd7e623e4d53c473c581880"
},
"downloads": -1,
"filename": "pinn2dcm-1.0.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5667041157e8edb27441fde0e2ffefa4",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3",
"size": 6951,
"upload_time": "2023-03-25T10:38:30",
"upload_time_iso_8601": "2023-03-25T10:38:30.714488Z",
"url": "https://files.pythonhosted.org/packages/e3/5c/c6863be6ad2c861a70766efba8b60327139d5f26be0084a420116e1928f1/pinn2dcm-1.0.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "6bd801c818ab5dadb6243729233d6204a099ab27a4661b06f8b6e648cd3f8abe",
"md5": "e38c215811c37d884ef65304db26f515",
"sha256": "e7acae163785560358eb74e85523e95dbcff4eca7eca0a7bcd597008c51b764f"
},
"downloads": -1,
"filename": "pinn2dcm-1.0.0.tar.gz",
"has_sig": false,
"md5_digest": "e38c215811c37d884ef65304db26f515",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 5986,
"upload_time": "2023-03-25T10:38:32",
"upload_time_iso_8601": "2023-03-25T10:38:32.421704Z",
"url": "https://files.pythonhosted.org/packages/6b/d8/01c818ab5dadb6243729233d6204a099ab27a4661b06f8b6e648cd3f8abe/pinn2dcm-1.0.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-03-25 10:38:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"github_user": "sebasj13",
"github_project": "Pinn2DCM",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pinn2dcm"
}