GDCMPAP3(1) | DICOM Manipulation. | GDCMPAP3(1) |
gdcmpap3 - Tool to convert PAPYRUS 3.0 to DICOM.
gdcmpap3 [options] file-in file-out
The gdcmpap3 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) gdcmpap3 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
gdcmpap3 is a great tool to convert broken PAPYRUS 3.0 implementation into properly parsable DICOM file. Usage is simply:
$ gdcmpap3 input.pa3 output.dcm
or if you prefer being explicit:
$ gdcmpap3 -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.
Mathieu Malaterre
Copyright © 2006, 2011 Mathieu Malaterre
01/29/2023 | GDCM 3.0.21 |