Skip to main content

High-level DICOM abstractions.

Project description

Build Status Documentation Status PyPi Distribution Python Versions Downloads Contributor Covenant

Highdicom

highdicom is a pure Python package built on top of pydicom to provide a higher-level application programming interface (API) for working with DICOM files. Its focus is on common operations required for machine learning, computer vision, and other similar computational analyses. Broadly speaking, the package helps with three types of task:

  1. Reading existing DICOM image files of a wide variety of modalities (covering radiology, pathology, and more) and selecting and formatting its frames for computational analysis. This includes considerations such as spatial arrangements of frames, and application of pixel transforms, which are not handled by pydicom.

  2. Storing image-derived information, for example from computational analyses or human annotation, in derived DICOM objects for communication and storage. This includes:

    • Annotations
    • Parametric Map images
    • Segmentation images
    • Structured Report documents (containing numerical results, qualitative evaluations, and/or vector graphic annotations)
    • Secondary Capture images
    • Key Object Selection documents
    • Legacy Converted Enhanced CT/PET/MR images (e.g., for single frame to multi-frame conversion)
    • Softcopy Presentation State instances (including Grayscale, Color, and Pseudo-Color)
  3. Reading existing derived DICOM files of the above types and filtering and accessing the information contained within them.

Documentation

Please refer to the online documentation at highdicom.readthedocs.io, which includes installation instructions, a user guide with examples, a developer guide, and complete documentation of the application programming interface of the highdicom package.

Citation

For more information about the motivation of the library and the design of highdicom's API, please see the following article:

Highdicom: A Python library for standardized encoding of image annotations and machine learning model outputs in pathology and radiology C.P. Bridge, C. Gorman, S. Pieper, S.W. Doyle, J.K. Lennerz, J. Kalpathy-Cramer, D.A. Clunie, A.Y. Fedorov, and M.D. Herrmann. Journal of Digital Imaging, August 2022

If you use highdicom in your research, please cite the above article.

Support

The developers gratefully acknowledge their support:

This software is maintained in part by the NCI Imaging Data Commons project, which has been funded in whole or in part with Federal funds from the NCI, NIH, under task order no. HHSN26110071 under contract no. HHSN261201500003l.

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

highdicom-0.27.0.tar.gz (1.1 MB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

highdicom-0.27.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

Details for the file highdicom-0.27.0.tar.gz.

File metadata

  • Download URL: highdicom-0.27.0.tar.gz
  • Upload date:
  • Size: 1.1 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.3

File hashes

Hashes for highdicom-0.27.0.tar.gz
Algorithm Hash digest
SHA256 4999b62a4fc1e58ae1d25eb12058dae3b83d816a6214c00e342356a3ad0774f2
MD5 c9c99bebc05f53edc5e181f92df5a1e8
BLAKE2b-256 4600a44494d45e27fefeeb9e1ecc294aa8333a1b98719615751d277ef609aaf9

See more details on using hashes here.

File details

Details for the file highdicom-0.27.0-py3-none-any.whl.

File metadata

  • Download URL: highdicom-0.27.0-py3-none-any.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.3

File hashes

Hashes for highdicom-0.27.0-py3-none-any.whl
Algorithm Hash digest
SHA256 90a14ef75f67b7df2c3fd83df9c0bddd787dfdfab2b08c8c68828207389aed3f
MD5 02f3f6a5945d109ac915b8a53385d1c1
BLAKE2b-256 634848918a347b044ac4fc738a2af95f9b171927b9d376f656b176ebc52f4de2

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