@radicalimaging/static-wado-creator
v1.5.0
Published
Library to convert DICOMP10 to DICOMweb format. Original upstream: https://github.com/chafey/dicomp10-to-dicomweb-js
Downloads
184
Readme
Static DICOMweb Creator
The Static DICOMweb Creator package converts DICOM Part 10 files to and from files in a DICOMweb like format.
Installation
Using npm, install the package:
npm install -g @radicalimaging/static-wado-creator
Additional Installs:
- To render thumbnail/rendered responses, install the dcm2jpg command from dcm4che
- To generate thumbnails for video, instal ffmpeg.
Tools Usage
The tools will write to a dicomweb folder created by default in the users home directory (~) in the ~/dicomweb/
location in the locations as specified in File Structure.
Converting DICOM Part 10 to DICOMweb
DICOM part 10 files can be converted to DICOMweb. By default, LEI grayscale images will be converted to JPEG-LS compressed images and a thumbnail will be generated. This can be done with:
mkdicomweb create <DICOM-FILES-DIR>
Note there is no glob support on the input parameter, so either directories or files need to be fully specified.
Converting Static DICOMweb to Part 10
Static DICOMweb files can be converted back into Part 10, provided:
- Total DICOM Part 10 size is under 2 gb
- DICOMweb data is stored in a compressed transfer syntax
The commands is:
mkdicomweb part10 <studyUID>
Delete A Study
A study can be deleted using:
mkdicomweb delete <studyUID>
Reject A Series
A series can be "deleted", that is rejected, which removed it only from the indices by running:
mkdicomweb reject <studyUID>/seres/<seriesUID>