1gdcmscanner(1)                       GDCM                       gdcmscanner(1)
2
3
4

NAME

6       gdcmscanner - Scan a directory containing DICOM files.
7

SYNOPSIS

9       gdcmscanner [options] directory
10

DESCRIPTION

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

Typical usage

Simple usage

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

Complex usage

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 linux 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

SEE ALSO

60       gdcmdump(1), gdcmraw(1)
61
63       Copyright (c) 2006-2010 Mathieu Malaterre
64
65
66
67Version 2.0.16                  Tue Jul 26 2011                 gdcmscanner(1)
Impressum