Skip to main content

Package for converting whole slide image files to dicom.

Project description

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.

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

dicom_wsi-1.0.5.tar.gz (324.8 kB view details)

Uploaded Source

Built Distribution

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

dicom_wsi-1.0.5-py3-none-any.whl (48.9 kB view details)

Uploaded Python 3

File details

Details for the file dicom_wsi-1.0.5.tar.gz.

File metadata

  • Download URL: dicom_wsi-1.0.5.tar.gz
  • Upload date:
  • Size: 324.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dicom_wsi-1.0.5.tar.gz
Algorithm Hash digest
SHA256 add737572fdc0415927932aff43db0e1370747cc3cb4573ab8f00c3b95fa9ec1
MD5 9c61c03b8f2c53fcb680c480ab988aec
BLAKE2b-256 620f54be12f509d0a1e19ec9494372442338c870b2b0f9b609513978cd9ef7dc

See more details on using hashes here.

File details

Details for the file dicom_wsi-1.0.5-py3-none-any.whl.

File metadata

  • Download URL: dicom_wsi-1.0.5-py3-none-any.whl
  • Upload date:
  • Size: 48.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for dicom_wsi-1.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 db738f5d532cd125bac95028e79acec33ae2ca8116ef3dfe33fbcbac25c94594
MD5 3d8afdd4dacc7d88f3ef01ae5a6f0b95
BLAKE2b-256 2e05db1b38e830110cd9e06740b6037006d84aaab19b3e6425a85fe6ee35a43a

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