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 their 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 National Cancer Institute, National Institutes of Health, Department of Health and Human Services, under task order no. HHSN26110071 under contract no. HHSN261201500003I. The statements do not necessarily reflect the views or policies of the Department of Health and Human Services, nor does mention of trade names, commercial products, or organizations imply endorsement by the U.S. Government.

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.28.0.tar.gz (1.2 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.28.0-py3-none-any.whl (1.1 MB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: highdicom-0.28.0.tar.gz
  • Upload date:
  • Size: 1.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.3

File hashes

Hashes for highdicom-0.28.0.tar.gz
Algorithm Hash digest
SHA256 9b8e5b6b36703eee3ffc7c396a5713fb14d3059e8bc50ef135091963db625cc1
MD5 47ef4be0261667b320a589df00a6c53c
BLAKE2b-256 79d01aab99c910131adccb6b5bc461cc9d62d488f03bea80923e19105bffdb3f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for highdicom-0.28.0-py3-none-any.whl
Algorithm Hash digest
SHA256 25d1c477c4b6eddadb1aacab944fc4d2ac240dbc4bb2e583a70796226d2b24c3
MD5 1e41afbdedca4c8ee386a7a8bd699b2d
BLAKE2b-256 58e38db2dcac72ace5074f8296998f553107e25506cae5042405499de5adbb2a

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