X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=Doc%2FWebsite%2FCommandLine.html;h=d18639ed3c454b60b651e2424097b7b3d9d0c497;hb=66e313a6826c93a1b726284cdbd6b47e53d86116;hp=c1abf7a1318a7458e08f525aa47b32dac54594eb;hpb=b918abd539ab5d8d633a83cf1d5b8cfcf5cc5c09;p=gdcm.git diff --git a/Doc/Website/CommandLine.html b/Doc/Website/CommandLine.html index c1abf7a1..d18639ed 100644 --- a/Doc/Website/CommandLine.html +++ b/Doc/Website/CommandLine.html @@ -8,6 +8,7 @@
Displays the header of any kind of ACR-NEMA/PAPYRUS/DICOM File usage: PrintFile filein=fileName [level=n] @@ -19,8 +20,10 @@ debug : user wants to run the program in 'debug mode' usage : user wants to display usage+
Anonymizes a full gdcm-readable Dicom image Warning : probably segfaults if pixels are not gdcm readable. @@ -29,11 +32,13 @@ debug : user wants to run the program in 'debug mode' usage : user wants to display usage+
Anonymizes a gdcm-readable Dicom image even if pixels aren't gdcm readable - Warning : Warning : the image is overwritten; + Warning : the image is overwritten; to preserve its integrity, use a copy. usage: AnonymizeNoLoad {filein=inputFileName|dirin=inputDirectoryName} [rubout=listOfPrivateElementsToRubOut] @@ -49,10 +54,12 @@ debug : user wants to run the program in 'debug mode' usage : user wants to display usage+
- Re writes a full gdcm-readable Dicom image (compressed Pixels are expanded) + Reads and rewrites a full gdcm-readable Dicom image (compressed Pixels are expanded) (usefull when the file is not very straight). usage: ReWrite filein=inputFileName fileout=anonymizedFileName [mode=write mode] [rgb] @@ -65,8 +72,10 @@ debug : user wants to run the program in 'debug mode' usage : user wants to display usage+
Displays the tree-like structure of a DICOMDIR File usage: PrintDicomDir filein=fileName [detail=n] [level=n] [debug] [usage] @@ -76,9 +85,11 @@ debug : user wants to run the program in 'debug mode' usage : user wants to display usage+
+ +Explores recursively the given directory, makes the relevant DICOMDIR and writes it as 'NewDICOMDIR' usage: MakeDicomDir dirname=rootDirectoryName @@ -89,8 +100,10 @@ debug : user wants to run the program in 'debug mode' usage : user wants to display usage+
Anonymizes a gdcm-readable DICOMDIR even when some 'Objects' are not yet taken into account @@ -100,7 +113,46 @@ debug : user wants to run the program in 'debug mode' usage : user wants to display usage+ +
+ Allows aware user to patch a gdcm-parsable image header, without + loading image. + Warning : the image(s) is/are overwritten + to preserve image(s) integrity, use a copy. + WARNING : *NO CHECK* is performed on the new values. + Use only if you are sure the original values are wrong + *and* your values are right... + usage: PatchHeader {filein=inputFileName|dirin=inputDirectoryName} + [ { [size=] | [rows=][columns=] } ] [planes=] + [bitsallocated=] [bitsstored=] + [highbit=] [samplesperpixel=] + [pixelrepresentation=] [samplesperpixel=] + [ { [noshadowseq] | [noshadow][noseq] } ] [debug] + + inputFileName : Name of the (single) file user wants to modify + inputDirectoryName : user wants to modify *all* the files + within the directory + newsize : new size, to overwrite old (wrong) one + or + rows : new Rows number, to overwrite old (wrong) one + columns : new Columns number, to overwrite old (wrong) one + planes : new Planes number, ... + bitsallocated : new Bits Allocated number, ... + bitsstored : new Bits Stored number, ... + highbit : new High Bit number, ... + samplesperpixel : new Samples Per Pixel, ... + pixelrepresentation : new Pixel Representation, ... + + noshadowseq: user doesn't want to load Private Sequences + noshadow : user doesn't want to load Private groups (odd number) + noseq : user doesn't want to load Sequences + debug : user wants to run the program in 'debug mode' + usage : user wants to display usage ++