dcm2json --version (return code: 0)
$dcmtk: dcm2json v3.6.2 2017-07-14 $
dcm2json: Convert DICOM file and data set to JSON
Host type: Debian
Character encoding: US-ASCII
External libraries used:
- ZLIB, Version 1.2.11
- ICU, Version 57.1.0
dcm2json --help (return code: 0)
$dcmtk: dcm2json v3.6.2 2017-07-14 $
dcm2json: Convert DICOM file and data set to JSON
usage: dcm2json [options] dcmfile-in [jsonfile-out]
parameters:
dcmfile-in DICOM input filename to be converted
jsonfile-out JSON output filename (default: stdout)
general options:
-h --help print this help text and exit
--version print version information and exit
--arguments print expanded command line arguments
-q --quiet quiet mode, print no warnings and errors
-v --verbose verbose mode, print processing details
-d --debug debug mode, print debug information
-ll --log-level [l]evel: string constant
(fatal, error, warn, info, debug, trace)
use level l for the logger
-lc --log-config [f]ilename: string
use config file f for the logger
input options:
input file format:
+f --read-file read file format or data set (default)
+fo --read-file-only read file format only
-f --read-dataset read data set without file meta information
input transfer syntax:
-t= --read-xfer-auto use TS recognition (default)
-td --read-xfer-detect ignore TS specified in the file meta header
-te --read-xfer-little read with explicit VR little endian TS
-tb --read-xfer-big read with explicit VR big endian TS
-ti --read-xfer-implicit read with implicit VR little endian TS
output options:
output format:
+fc --formatted-code enable whitespace formatting (default)
-fc --compact-code print only required characters
+m --write-meta write data set with meta information
(warning: not conforming to the DICOM standard)