Skip to main content

A Python module that compares an original DICOM file with its deidentified counterpart and returns the differences between the two.

Project description

CI PyPI PyPI - Python Version Code style: black

Dicomdiff

A Python module that accepts an original DICOM file and its de-identified version as input, and compares them to detect any differences.

Installation

Install the module with pip

  pip install dicomdiff

Usage

from dicomdiff.main import compare_dicom_files, print_differences

original_file = "path to original dcm file"
deidentified_file = "path to de-identified dcm file"

result = compare_dicom_files(original_file, deidentified_file) # compare the files
print_differences(result) # print the results

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

dicomdiff-0.3.0.tar.gz (21.7 kB view details)

Uploaded Source

Built Distribution

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

dicomdiff-0.3.0-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file dicomdiff-0.3.0.tar.gz.

File metadata

  • Download URL: dicomdiff-0.3.0.tar.gz
  • Upload date:
  • Size: 21.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.17 Linux/6.11.0-1014-azure

File hashes

Hashes for dicomdiff-0.3.0.tar.gz
Algorithm Hash digest
SHA256 5e83d4eb9de6a59585c979cf535267413dbf2354d37c113596ef0d5e0d19bdee
MD5 cb092feb4ec88740fd68f053fb5e0eb3
BLAKE2b-256 5412489a365c1953e27d79e8b874f5bf98574e7f58f1bec2be7da4ea4d6ef1e6

See more details on using hashes here.

File details

Details for the file dicomdiff-0.3.0-py3-none-any.whl.

File metadata

  • Download URL: dicomdiff-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.3 CPython/3.10.17 Linux/6.11.0-1014-azure

File hashes

Hashes for dicomdiff-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 1a6f6f0eaeb8d4e6b3e5cf0f32a8ad36db61482de4b417b0f8b8e4140631873c
MD5 009c5c0f487eec2d35372f438dc1b21f
BLAKE2b-256 5c9c403c9a3ab179b5efd52678e5bd0ef9ce3a10651b5dfc72cd4859fc571147

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