Rechercher une page de manuel

Chercher une autre page de manuel:


Langue: en

Version: 336499 (ubuntu - 24/10/10)

Section: 1 (Commandes utilisateur)


gdcmscanner - .TH "gdcmscanner" 1 "Thu Sep 16 2010" "Version 2.0.15" "GDCM"


gdcmscanner - .SH "SYNOPSIS"
 gdcmscanner [options] directory


The gdcmscanner is a command line tool to quickly extract value from a set of DICOM attribute in a DICOM File-Set.


   -d --dir       DICOM directory
   -t --tag %d,%d DICOM tag(s) to look for


   -p --print      Print output.
   -r --recursive  Recusively descend directory.

general options

   -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

Typical usage

Simple usage

In order to display all the value for Patient Name (0010,0010) in the directory name gdcmData, simply do:

 $ gdcmscanner -t 10,10 -d gdcmData -p

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 linux this can be worked around with the following trick:

 $ find gdcmData -type d -exec gdcmscanner -t 10,10 -d {} -p ; 

So all directory are locally traversed (no child directory are recursively traversed), which means results comes out much faster.


gdcmdump(1), gdcmraw(1)

Copyright (c) 2006-2010 Mathieu Malaterre

Patience et longueur de temps
Font plus que force ni que rage.
-+- Jean de La Fontaine (1621-1695),
Le Lion et le Rat (Fables II.11) -+-