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 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79
|
/*!
\page gdcmscanner Scan a directory containing DICOM files.
\section synopsis SYNOPSIS
\verbatim
gdcmscanner [options] directory
\endverbatim
\section description DESCRIPTION
The \b gdcmscanner is a command line tool to quickly extract value from a set
of DICOM attribute in a DICOM File-Set.
\subsection parameters parameters
\verbatim
-d --dir DICOM directory
-t --tag %d,%d DICOM tag(s) to look for
\endverbatim
\subsection options options
\verbatim
-p --print Print output.
-r --recursive Recusively descend directory.
\endverbatim
\subsection general_options general options
\verbatim
-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
\endverbatim
\section usage Typical usage
\section simple_usage Simple usage
In order to display all the value for Patient Name (0010,0010) in the directory
name \b gdcmData, simply do:
\verbatim
$ gdcmscanner -t 10,10 -d gdcmData -p
\endverbatim
\section complex_usage Complex usage
Because gdcmscanner does not support progress, you have to wait until all files
are traversed to see any results. This is quite cumbersome, on UNIX this can
be worked around with the following trick:
\verbatim
$ find gdcmData -type d -exec gdcmscanner -t 10,10 -d {} -p ';'
\endverbatim
So all directory are locally traversed (no child directory are recursively
traversed), which means results comes out much faster.
\section see_also SEE ALSO
<b>gdcmdump</b>(1), <b>gdcmraw</b>(1)
\section copyright COPYRIGHT
Copyright (c) 2006-2011 Mathieu Malaterre
*/
|