1GDCMSCANNER(1) DICOM Manipulation. GDCMSCANNER(1)
2
3
4
6 gdcmscanner - Scan a directory containing DICOM files.
7
9 gdcmscanner [options] directory
10
12 The gdcmscanner is a command line tool to quickly extract value from a
13 set of DICOM attribute in a DICOM File-Set.
14
15 PARAMETERS
16 -d --dir DICOM directory
17 -t --tag %d,%d DICOM tag(s) to look for
18
19 OPTIONS
20 -p --print Print output.
21 -r --recursive Recusively descend directory.
22
23 general options
24 -h --help
25 print this help text and exit
26
27 -v --version
28 print version information and exit
29
30 -V --verbose
31 verbose mode (warning+error).
32
33 -W --warning
34 warning mode, print warning information
35
36 -E --error
37 error mode, print error information
38
39 -D --debug
40 debug mode, print debug information
41
44 In order to display all the value for Patient Name (0010,0010) in the
45 directory name gdcmData, simply do:
46
47 $ gdcmscanner -t 10,10 -d gdcmData -p
48
50 Because gdcmscanner does not support progress, you have to wait until
51 all files are traversed to see any results. This is quite cumbersome,
52 on UNIX this can be worked around with the following trick:
53
54 $ find gdcmData -type d -exec gdcmscanner -t 10,10 -d {} -p ';'
55
56 So all directory are locally traversed (no child directory are
57 recursively traversed), which means results comes out much faster.
58
60 gdcmdump(1), gdcmraw(1)
61
63 Mathieu Malaterre
64 Main developer
65
67 Copyright © 2006, 2011 Mathieu Malaterre
68
69
70
71GDCM 3.0.1 01/28/2020 GDCMSCANNER(1)