1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
4 <META http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
5 <TITLE>Command Line Utilities</TITLE>
8 <H2>Command Line Utilities :</H2>
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'
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'
31 Anonymize a gdcm-readable Dicom image even if pixels aren't gdcm readable
32 Warning : the file is overwritten; to preserve file integrity,
34 usage: AnonymizeNoLoad filein=inputFileName fileout=outputFileName [debug]
35 debug : user wants to run the program in 'debug mode'
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'
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
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'
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'
70 <LI> AnonymizeDicomDir
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'