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.4.0.tar.gz (32.8 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.4.0-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: midom-0.4.0.tar.gz
  • Upload date:
  • Size: 32.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for midom-0.4.0.tar.gz
Algorithm Hash digest
SHA256 df294408691d6be4caf8989c8ede629711c16af301c3e7a55ff03d5901b6d79c
MD5 6bfe16e0816924b86ac07c9c80c440b4
BLAKE2b-256 d6bcf904b116e266fe8f040751215f42f52203778f5ca00243a2cffc4894b76a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: midom-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.15 {"installer":{"name":"uv","version":"0.9.15","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for midom-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f13b70fc2c21622ae60fca0dac6c0a97737cd08669e63fba677e546011a154ba
MD5 09c101a1375f52167efb676fbe2e65b9
BLAKE2b-256 efac218dd0d2b8e1eaa9d8a1743c7fd6986ca3c7cb2fa8cb1b8e64ef7a643cb2

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