Skip to main content

A lightning DICOM Parser

Project description

GitHub Liscence PyPi Download Pypi version

DCM-Parser

A effecient tool for extract dicom meta data from files.

This tool offers:

  • convert dicom to png (if pixel array is 2D) / mp4 (3D)
  • extract all meta data (dicom header) to a single csv file
  • examize corrupted files and files with missing values
  • multi-thread speed up exact HUNDREDS files in seconds

Installation

pip install -r requirements.txt
pip install dcm-parser

Usage

ONE line for everything!

from dcm_parser import batch_extraction

batch_extraction(source_dir=[YOUR_SOURCE_DIR], dest_dir=[YOUR_TARGET_DIR], save_img=True)

How to cite this work

If you find this git repo useful, please consider citing it using the snippet below:

@misc{DCM-parser,
    author={Le Peng},
    title={DCM-parser: A Lightning DICOM Parser},
    howpublished={\url{https://github.com/PL97/DICOM_Parser}},
    year={2022}
}

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

dcm_parser-0.2.4.tar.gz (3.9 kB view details)

Uploaded Source

File details

Details for the file dcm_parser-0.2.4.tar.gz.

File metadata

  • Download URL: dcm_parser-0.2.4.tar.gz
  • Upload date:
  • Size: 3.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.8.8

File hashes

Hashes for dcm_parser-0.2.4.tar.gz
Algorithm Hash digest
SHA256 23bdf91e6cf4dc4fe954a78049a0733f96fbe32cea0df4fa087c64547ebc0e0e
MD5 b2aee090e708d2825d3902760210be8c
BLAKE2b-256 80a1ec2b9683debe8451ce00dc89344ead6272837c23de51b1556f01c0d3fd30

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