-p{param}
"{value}" specifies a value for the specified parameter.
{value} must be
encapsulated in quotes.
-e{element}
"{script}" specifies a script for the specified element.
{element} may be
specified as a DICOM keyword, e.g. -ePatientName.
{element} may be
specified as (group,element), e.g. -e(0010,0010).
{element} may be
specified as [group,element], e.g. -e[0010,0010].
{element} may be
specified as groupelement, e.g. -e00100010.
{script} must be
encapsulated in quotes.
-lut {lookuptablefile}
specifies the anonymizer lookup table properties file.
If -lut is missing, the
default lookup table is used.
-dpa {pixelscriptfile}
specifies the pixel anonymizer script file.
If -dpa is missing,
pixel anonymization is not performed.
If {pixelscriptfile} is
missing, the default pixel script is used.
-dec specifies that
the image is to be decompressed if the pixel anonymizer requires
it.
-rec specifies that
the image is to be recompressed after pixel anonymization if it was
decompressed.
-test specifies that
the pixel anonymizer is to blank regions in mid-gray.
-check {frame}
specifies that the anonymized image is to be tested to ensure that the images
load.
If -check is missing, no
frame checking is done.
If {frame} is missing,
only the last frame is checked.
If {frame} is specified
as first, only the first frame is checked.
If {frame} is specified
as last, only the last frame is checked.
If {frame} is specified
as all, all frames are checked.
-n {threads} specifies
the number of parallel threads used for processing.
-v specifies verbose
output
You can specify as many element scripts and parameters as you want.
The modifications to the script do not modify the script file itself; they
only apply to the current execution of the program.
As an example, this command will change the PatientName and PatientID
elements in all the DICOM files in the CTstudy directory, writing the modified
files to the CTstudy-an directory:
java –jar dat.jar –in
CTstudy –da –ePatientName "Bugs Bunny" –e[0010,0020] "12345"
JP