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.2.0.tar.gz (18.5 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.2.0-py3-none-any.whl (20.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: dicomdiff-0.2.0.tar.gz
  • Upload date:
  • Size: 18.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.2 CPython/3.10.17 Linux/6.8.0-1021-azure

File hashes

Hashes for dicomdiff-0.2.0.tar.gz
Algorithm Hash digest
SHA256 55dc80b8565c9017e018b7dc57e88d876095595b105bbf9699324cb4eae78352
MD5 12b710cfdec8b8d6b55799ab31d5b0c1
BLAKE2b-256 2c11eed59002d36c5ef95181491c0fc9a7efb19d231b468005dfc711b4587313

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for dicomdiff-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7c41d500511ea117e219982537f08ebbe2f4a2e154316d066bd8cc7cc707dc50
MD5 b4672dee91c93ebb6e1d371ad42130b1
BLAKE2b-256 cfac10079656c26226caa412dc98919294c9ed991c986e6f6515287bbe924595

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