Skip to main content

Concepts and relations to describe the process of DICOM deidentification

Project description

MIDOM - Medical Image Deidentification Object Model

CI PyPI PyPI - Python Version Code style: black Checked with mypy

A set of concepts and relations to describe the process of DICOM deidentification and a structured format for a deidentification protocol.

Why?

For projects related to DICOM deidentification, I'm running into the problem of not having the right words. I keep inventing terms, coming up with long-winded descriptions There is a lack of conceptual clarity. Lack of clarity causes:

  • misunderstandings
  • Ineffective communication
  • misguided programming efforts
  • wasted time generally.

The DICOM standard does not have enough detail. DICOM PS3 E-E1 gives thorough information on what to do to a single dataset, but not on how to reason or talk about multiple deidentifying processess, their differences, their characteristics.

For whom?

People developing or maintaining image deidentification pipelines.

What is it?

An information model first and foremost. Concept definitions with clear descriptions of their relations. There might be python code to define constants, transformations between objects maybe.

What is it not?

Anything that does any actual image processing. No loading of DICOM files anywhere.

For docs editors

Render html docs

Go to (in docs/build): make docs_html

Fancy auto-updating

Auto-reload a html view as you change the docs source. Requirements:

  • Linux or WSL (this uses some subshell and piping tricks)
  • entr - Run a command when files change. Apt install this
  • livereload - Serve local files and auto-reload on change. Python lib found as dev dependency in midom.
  • Possibly firefox to make livereload work properly

Steps:

  • Start a shell in this midom base dir (where Makefile is)
  • run uv run make launch_source_listener
  • Open the livereload url printed in the script output. By default this is http://127.0.0.1:35729/

You might have to reload the page once to link livereload to the browser. After that, any save to a .rst or .puml file will trigger rebuild of docs/build, which will in turn trigger a page reload

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

midom-0.3.0.tar.gz (31.2 kB view details)

Uploaded Source

Built Distribution

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

midom-0.3.0-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: midom-0.3.0.tar.gz
  • Upload date:
  • Size: 31.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for midom-0.3.0.tar.gz
Algorithm Hash digest
SHA256 9a8888c9ddda21f580632ad824c644e2aa0744af648f7733f7f4a1e764dc2527
MD5 f2b40dc3cb3ca8bc7c4d0b31951633d5
BLAKE2b-256 6d2680f3a9e60c069af37208bece180e0a255a5de517b81b5d1e46d51770bb13

See more details on using hashes here.

File details

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

File metadata

  • Download URL: midom-0.3.0-py3-none-any.whl
  • Upload date:
  • Size: 26.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.19

File hashes

Hashes for midom-0.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 806cf54c0d80a5fe8485e11f6b410ead82664d15af8ec3eae91e139af3e7cdec
MD5 7d73904defb282ac9c76fb7299d80316
BLAKE2b-256 502657a4cae11a66d1b1f35ebecf7d5562e3de0ef06545f237ed9746da1e06ff

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