OS Manuals

/usr/bin/dsrdump

DCMTK is a collection of libraries and applications implementing large parts the DICOM standard.

From dcmtk 3.7.1-r0 (os), captured 2026-11-05 by running dsrdump --help (exit 0). permalink

$dcmtk: dsrdump v3.7.1 2026-10-15 $

dsrdump: Dump DICOM SR file and data set
usage: dsrdump [options] dsrfile-in...

parameters:
  dsrfile-in                      DICOM SR input filename to be dumped
                                  ("-" for stdin)

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
processing options:
  additional information:
    -Ip   --processing-details    show currently processed content item
  error handling:
    -Er   --unknown-relationship  accept unknown/missing relationship type
    -Ev   --invalid-item-value    accept invalid content item value
                                  (e.g. violation of VR or VM definition)
    -Ec   --ignore-constraints    ignore relationship content constraints
    -Ee   --ignore-item-errors    do not abort on content item errors, just warn
                                  (e.g. missing value type specific attributes)
    -Ei   --skip-invalid-items    skip invalid content items (incl. sub-tree)
    -Dv   --disable-vr-checker    disable check for VR-conformant string values
  specific character set:
    +U8   --convert-to-utf8       convert all element values that are affected
                                  by Specific Character Set (0008,0005) to UTF-8
output options:
  general printing:
    +Pf   --print-filename        print header with filename for each document
    -Ph   --no-document-header    do not print general document information
    +Pn   --number-nested-items   print position string in front of each line
    -Pn   --indent-nested-items   indent nested items by spaces (default)
  printing values:
    +Pl   --print-long-values     print long item values completely
    -Pl   --shorten-long-values   print long item values shortened (default)
    +Pu   --print-instance-uid    print SOP instance UID of referenced objects
    -Ps   --print-sopclass-short  print short SOP class name of referenced
                                  image objects, e.g. "CT image" (default)
    +Ps   --print-sopclass-long   print long SOP class name of ref. objects
    +Psu  --print-sopclass-uid    print SOP class UID of referenced objects
    +Pc   --print-all-codes       print all codes (incl. concept name codes)
    +Pi   --print-invalid-codes   print invalid codes (for debugging purposes)
    -Pi   --no-invalid-codes      print text "invalid code" instead (default)
    +Pt   --print-template-id     print template identification information
  enhanced encoding mode:
    +Pe   --indicate-enhanced     indicate that enhanced mode is used for codes
    -Pe   --no-enhanced-mode      do not indicate enhanced mode (default)
  color:
    +C    --print-color           use ANSI escape codes for colored output
    -C    --no-color              do not use any ANSI escape codes (default)
Options (28)
OptionDescriptionSource
-h--help print this help text and exithelp
--versionprint version information and exithelp
--argumentsprint expanded command line argumentshelp
-q--quiet quiet mode, print no warnings and errorshelp
-v--verbose verbose mode, print processing detailshelp
-d--debug debug mode, print debug informationhelp
-ll--log-level [l]evel: string constant (fatal, error, warn, info, debug, trace) use level l for the loggerhelp
-lc--log-config [f]ilename: string use config file f for the loggerhelp
-f--read-dataset read data set without file meta informationhelp
-t--read-xfer-auto use TS recognition (default)help
-td--read-xfer-detect ignore TS specified in the file meta headerhelp
-te--read-xfer-little read with explicit VR little endian TShelp
-tb--read-xfer-big read with explicit VR big endian TShelp
-ti--read-xfer-implicit read with implicit VR little endian TShelp
-Ip--processing-details show currently processed content itemhelp
-Er--unknown-relationship accept unknown/missing relationship typehelp
-Ev--invalid-item-value accept invalid content item value (e.g. violation of VR or VM definition)help
-Ec--ignore-constraints ignore relationship content constraintshelp
-Ee--ignore-item-errors do not abort on content item errors, just warn (e.g. missing value type specific attributes)help
-Ei--skip-invalid-items skip invalid content items (incl.help
-Dv--disable-vr-checker disable check for VR-conformant string valueshelp
-Ph--no-document-header do not print general document informationhelp
-Pn--indent-nested-items indent nested items by spaces (default)help
-Pl--shorten-long-values print long item values shortened (default)help
-Ps--print-sopclass-short print short SOP class name of referenced image objects, e.g. "CT image" (default)help
-Pi--no-invalid-codes print text "invalid code" instead (default)help
-Pe--no-enhanced-mode do not indicate enhanced mode (default)help
-C--no-color do not use any ANSI escape codes (default)help

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.