Export structure from dicom to numpy binary mask
Project description
dicom_mask
Export structure from dicom to numpy binary mask
Install
pip install dicom-mask
Examle usage
from dicom_mask.convert import struct_to_mask
dicom_dir = 'some_dicom_dir'
dicom_files = ['all', 'image', 'filenames', 'and', 'struct']
struct_name = 'liver'
mask = struct_to_mask(dicom_dir, dicom_files, struct_name)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dicom-mask-0.0.8.tar.gz
(5.2 kB
view hashes)
Built Distribution
Close
Hashes for dicom_mask-0.0.8-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | af5e4d99304b630cc13b4bdbfc6231992a7338b66e8fe67e78d35e4ba5667469 |
|
MD5 | da45a42047cf97a8a5f33f3a1fcb1562 |
|
BLAKE2b-256 | b961ff74125781a28e8cb9d1e3cbd5d2ba1f02c5c3d136226e9172f3a675fb20 |