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.1.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.1-py3-none-any.whl (26.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: midom-0.3.1.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.1.tar.gz
Algorithm Hash digest
SHA256 5f68b0c6d5606cc175fce2d3b665c525874c66110a4d310331383b3a11a28d9a
MD5 3321969f3556e831de4ad55895207121
BLAKE2b-256 98741ef43338a2b4ff8622990e9c06aa804e4fc62b904ce408e001fd0cdad72a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: midom-0.3.1-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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b92ee3115d2c2ab4336b20bc0ceab1f5942892bf3743d7cd10b70cc6dab08832
MD5 c437ecd84ad9345af72e99198e0fc515
BLAKE2b-256 1bb9fba46bb449f17fe0c6ccbe886f437fbc28140e5c49eda92b38c77617abd4

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