]> Creatis software - gdcm.git/blob - Doc/Website/CommandLine.html
Add Web CVS entry
[gdcm.git] / Doc / Website / CommandLine.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2 <HTML>
3 <HEAD>
4    <META http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5    <TITLE>Command Line Utilities</TITLE>
6 </HEAD>
7 <BODY>
8 <H2>Command Line Utilities :</H2>
9 <UL>
10    <LI> PrintFile
11    <pre>
12    Display the header of any kind of ACR-NEMA/PAPYRUS/DICOM File
13    usage: PrintFile filein=fileName [level=n] [noshadow] [noseq] [debug]
14           level = 0,1,2 : depending on the amount of details user wants to see
15           noshadow : user doesn't want to load Private groups (odd number)
16           noseq    : user doesn't want to load Sequences
17           debug    : user wants to run the program in 'debug mode'
18    </pre>
19
20    <LI> Anonymize
21    <pre>
22    Anonymize a full gdcm-readable Dicom image
23           Warning : probably segfaults if pixels are not gdcm readable.
24                     Use AnonymizeNoLoad instead.
25    usage: Anonymize filein=inputFileName fileout=anonymizedFileName [debug]
26           debug    : user wants to run the program in 'debug mode'
27    </pre>
28
29    <LI> AnonymizeNoLoad
30    <pre> 
31    Anonymize a gdcm-readable Dicom image even if pixels aren't gdcm readable
32           Warning : the file is overwritten; to preserve file integrity,
33                     use a copy.
34    usage: AnonymizeNoLoad filein=inputFileName fileout=outputFileName [debug]
35           debug    : user wants to run the program in 'debug mode'
36    </pre>
37
38    <LI> ReWrite
39    <pre>
40    Re write a full gdcm-readable Dicom image (compressed Pixels are expanded)
41                    (usefull when the file is not very straight).                  
42    usage: ReWrite filein=inputFileName fileout=anonymizedFileName
43                    [mode=write mode] [noshadow] [noseq][debug]
44           mode = a (ACR), x (Explicit VR Dicom), r (RAW : only pixels)
45           noshadow : user doesn't want to load Private groups (odd number)
46           noseq    : user doesn't want to load Sequences
47           debug    : user wants to run the program in 'debug mode' 
48    </pre>
49
50    <LI> PrintDicomDir
51    <pre>
52    Display the tree-like structure of a DICOMDIR File
53    usage: PrintDicomDir filein=fileName [detail=n] [level=n] [debug]
54           detail = 1 : Patients, 2 : Studies, 3 : Series, 4 : Images
55                    5 : Full Content
56           level = 0,1,2 : depending on user (what he wants to see, when detail=5)
57            debug    : user wants to run the program in 'debug mode'
58    </pre>
59
60    <LI> MakeDicomDir
61    <pre>
62    Explores recursively the given directory, makes the relevant DICOMDIR
63           and writes it as 'NewDICOMDIR'
64    usage: MakeDicomDir dirname=rootDirectoryName [noshadow] [noseq] [debug]
65           noshadow : user doesn't want to load Private groups (odd number)
66           noseq    : user doesn't want to load Sequences
67           debug    : user wants to run the program in 'debug mode'
68    </pre>
69
70    <LI> AnonymizeDicomDir
71    <pre>
72    Anonymize a gdcm-readable DICOMDIR even when some 'Objects'
73           are not yet taken into account
74           Warning : the DICOMDIR is overwritten
75    usage: AnonymizeDicomDir filein=dicomDirName [debug]
76           debug    : user wants to run the program in 'debug mode'
77    </pre>
78
79 </UL>
80 </BODY>
81 </HTML>
82