Skip to main content

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?

To use with 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 is not sufficient. 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 software. Either full pipelines or separate parts.

What is it?

An information model first and foremost. Concept definitions with clear descriptions of their relations. To clearly express these, a structured language is required. Python has been chosen for this, but it should be possible to express MIDOM concepts in any structured language.

What is it not?

  • No image processing. Anything that does any actual image processing. No loading of DICOM files anywhere.
  • Not married to python. MIDOM uses pydantic for clean, serializable object definitions, pydicom for clean dicom file access and dicomcriterion to encode boolean expressions for DICOM datasets. Beyond that I will try to keep the dependencies to a minimum. This is the ambition. Time will tell whether this is realistic.

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

Metadata

Release files for midom 0.5.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for midom 0.5.3
File Size Uploaded Provenance Actions
midom-0.5.3.tar.gz 34.7 kB Without provenance Details for midom-0.5.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for midom 0.5.3
File Interpreter ABI Platform Actions
midom-0.5.3-py3-none-any.whl Python 3 none any Details for midom-0.5.3-py3-none-any.whl

Total release size: 64.2 kB

Release files / midom-0.5.3.tar.gz

Download URL midom-0.5.3.tar.gz
Size 34.7 kB
Tags Source
SHA-256 checksum
How to use checksums
1d6740ad8c12b5241f84d3043a1d993c8e98e04b1e7d18b61d2d4dd6d53ca7d4
BLAKE2b-256 checksum
How to use checksums
3a382e2e38b013e3267639995d70bcb867f508818dfa515fecf41a71fe22f8b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / midom-0.5.3-py3-none-any.whl

Download URL midom-0.5.3-py3-none-any.whl
Size 29.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
06572a06727d53245e0200cc2d22b70558b91a4cafcf1c3ace2b7f4d274e6dfc
BLAKE2b-256 checksum
How to use checksums
7fd2bc6c91ea3e67352dca1090dd85f2cf6e85a11b922dde9a9b6b778e85b0ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.7 {"installer":{"name":"uv","version":"0.13.7","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for midom 0.5.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page