1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44
|
/*!
\if MANPAGES
\page dcmftest Test if file uses DICOM part 10 format
\else
\page dcmftest dcmftest: Test if file uses DICOM part 10 format
\endif
\section synopsis SYNOPSIS
\verbatim
dcmftest file...
\endverbatim
\section description DESCRIPTION
The \b dcmftest utility checks whether the files specified on the command line
are DICOM files in part 10 format (with meta-header).
\section parameters PARAMETERS
\verbatim
dcmfile-in DICOM input filename to be dumped
\endverbatim
\section notes NOTES
All files specified on the command line are checked for the presence of the
DICOM "magic word" 'DICM' at byte position 128. No attempt is made to parse
the complete data set. For each file the test result is printed to \e stdout
in the form "yes: <filename>\n" or "no: <filename>\n". The utility terminates
with a return code corresponding to the number of files found to be non-DICOM,
i.e. if all files pass as DICOM files, the return value is 0. This behaviour
is intended for use in shell script programming.
\section see_also SEE ALSO
<b>dcmgpdir</b>(1), <b>dcmmkdir</b>(1)
\section copyright COPYRIGHT
Copyright (C) 1997-2010 by OFFIS e.V., Escherweg 2, 26121 Oldenburg, Germany.
*/
|