Skip to main content

dicom_wsi

https://img.shields.io/pypi/v/dicom_wsi.svg https://img.shields.io/travis/Steven-N-Hart/dicom_wsi.svg Documentation Status

Package for converting whole slide image files to DICOM.

Usage

First, you need to install dicom_wsi and its dependencies. See this link for details.

To use dicom-wsi: .. code-block:: console

python dicom_wsi.cli -w <WSI File path> -o <OutputDirectory> -p <output file prefix> -y yaml/base.yaml

or

import dicom_wsi
dicom_wsi.dicom_wsi.create_dicom(cfg, pools=n_pools)

That’s it! Most of the time you wan’t need to change anything. But if you do, please see the example yaml file.

Features

  • Validate DICOM elements using pydicom

  • Output format DICOM formatted files (vetted with dciodvfy)

TODO

  • Find out how to determine what FileMetaInformationGroupLength should be

Credits

This package was created with Cookiecutter and the audreyr/cookiecutter-pypackage project template.

History

1.0.5 (2025-10-09)

  • Fixed AttributeError in cli.py by updating __init__.py.

1.0.4 (2023-10-27)

  • Decreased dependencies for install

  • Added tryCatch for Aperio data without expected metadata

0.1.0 (2021-1-22)

  • First release on PyPI.

Release files for dicom-wsi 1.0.5

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

Source distribution (sdist)

Source distribution for dicom-wsi 1.0.5
File Size Uploaded
dicom_wsi-1.0.5.tar.gz 324.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dicom-wsi 1.0.5
File Interpreter ABI Platform
dicom_wsi-1.0.5-py3-none-any.whl Python 3 none any Details

Total release size: 373.7 kB

Release files / dicom_wsi-1.0.5.tar.gz

Download URL dicom_wsi-1.0.5.tar.gz
Size 324.8 kB
Tags Source
SHA-256 checksum
How to use checksums
add737572fdc0415927932aff43db0e1370747cc3cb4573ab8f00c3b95fa9ec1
BLAKE2b-256 checksum
How to use checksums
620f54be12f509d0a1e19ec9494372442338c870b2b0f9b609513978cd9ef7dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release files / dicom_wsi-1.0.5-py3-none-any.whl

Download URL dicom_wsi-1.0.5-py3-none-any.whl
Size 48.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
db738f5d532cd125bac95028e79acec33ae2ca8116ef3dfe33fbcbac25c94594
BLAKE2b-256 checksum
How to use checksums
2e05db1b38e830110cd9e06740b6037006d84aaab19b3e6425a85fe6ee35a43a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.0

Release history Release notifications | RSS feed

This release

1.0.5 This release

2 release files

1.0.4

2 release files

1.0.3

2 release files

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