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.1.1.tar.gz (14.2 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.1.1-py3-none-any.whl (15.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dicomdiff-0.1.1.tar.gz
  • Upload date:
  • Size: 14.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for dicomdiff-0.1.1.tar.gz
Algorithm Hash digest
SHA256 2fac30e5a288145924cfff9c45b550f6b9de1c9947ac891869186ec4fc9c1623
MD5 555fd00c48baa96262ded302886364b4
BLAKE2b-256 aacb5c252ed0d2e507dd73f1d77ce0693e5f53377b188fd067817e25392c0790

See more details on using hashes here.

File details

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

File metadata

  • Download URL: dicomdiff-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for dicomdiff-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb6c1a01213ae4cef177104ef49bee7caee9e05ffad652cf5974a776aade63b3
MD5 0040ab80a2ae02b3f63604b24922a44d
BLAKE2b-256 ae464485b06ed1bb909b8d556528a3f0921c1f6cde14a15e7954250bcd4057cf

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