Tool to convert papyrus 3.0 to dicom.
gdcmconv [options] file-in file-out
The gdcmconv command line program takes as input a PAPYRUS 3.0 file (file-in) and process it to generate an output (pseudo) DICOM file (file-out). The command line option dictate the type of operation(s) gdcmconv will use to generate the output file.
file-in DICOM input filename file-out DICOM output filename
-i --input DICOM filename -o --output DICOM filename
-S --split Split multiframes PAPYRUS 3.0 into multiples DICOM files
--decomp-pap3 Use PAPYRUS 3.0 for decompressing (can be combined with --split).
--check-iop Check that the Image Orientation (Patient) Attribute is ok (see --split).
-h --help
print this help text and exit
-v --version
print version information and exit
-V --verbose
verbose mode (warning+error).
-W --warning
warning mode, print warning information
-E --error
error mode, print error information
-D --debug
debug mode, print debug information
GDCM_ROOT_UID Root UID
gdcmconv is a great tool to convert broken PAPYRUS 3.0 implementation into properly parsable DICOM file. Usage is simply:
$ gdcmconv input.pa3 output.dcm
or if you prefer being explicit:
$ gdcmconv -i input.pa3 -o output.dcm
Even though gdcmpap3 can overwrite directly on the same file (input.pa3 = output.dcm), it is recommended that user should first convert into a different file to make sure the bug is properly handled by GDCM.
Copyright (c) 2006-2011 Mathieu Malaterre