1GDCMGENDIR(1)                 DICOM Manipulation.                GDCMGENDIR(1)
2
3
4

NAME

6       gdcmgendir - Tool to generate a DICOMDIR file from a File-Set.
7

SYNOPSIS

9           gdcmgendir [options] file-in file-out
10

DESCRIPTION

PARAMETERS

13           file-in   DICOM input filename
14
15           file-out  DICOM output filename
16

OPTIONS

18   Parameters
19   specific options
20             -i --input              DICOM filename or directory
21             -o --output             DICOM filename or directory
22             -r --recursive          recursive.
23                --descriptor         descriptor.
24                --root-uid           Root UID.
25
26   general options
27             -h   --help
28                    print this help text and exit
29
30             -v   --version
31                    print version information and exit
32
33             -V   --verbose
34                    verbose mode (warning+error).
35
36             -W   --warning
37                    warning mode, print warning information
38
39             -E   --error
40                    error mode, print error information
41
42             -D   --debug
43                    debug mode, print debug information
44
45   environment variable
46             GDCM_ROOT_UID Root UID
47

TYPICAL USAGE

NOTE

50       One may have to run some preliminary steps in order to get gdcmgendir
51       to generate the DICOMDIR file. Namely two steps:
52
53       •   Batch renaming of the DICOM filename into something compatible with
54           ISO 9660 filename convention
55
56       •   Convert all DICOM file into the Explicit VR Little Endian
57           Uncompressed (1.2.840.10008.1.2.1)
58
59       Step 1. can be solved in a numerous way. Eg. on UNIX environment this
60       could either be solved using the mkisofs command line tool. Filenames
61       should not contains any extension since the VR CS does not allow for
62       the '.' character. Only upper case, digit 0-9, the space ' ' and the
63       underscore '_' character are valid in VR CS, with a maximum of 8 bytes.
64       Another simple tool that can be handy is 'rename' in conjunction with
65       'basename'.
66
67       Step 2. can simply be achieved using the gdcmconv command line tool:
68
69             $ for i in `ls IMG*`; do gdcmconv --raw --force $i /tmp/out/$i; done
70

SEE ALSO

72       gdcmconv(1), gdcmanon(1), rename(1), mkisofs(1)
73

AUTHOR

75       Mathieu Malaterre
76           Main developer
77
79       Copyright © 2006, 2011 Mathieu Malaterre
80
81
82
83GDCM 3.0.8                        01/26/2021                     GDCMGENDIR(1)
Impressum