Here is an example:
vattredit -in infile.v -out outfile.v
-name "subject" -value "Wilhelm Wundt"
This call changes the attribute subject name to "Wilhelm Wundt". If no attribute 'subject' was present
prior to the call, a new attribute 'subject' is created.
Another example:
vattredit -in infile.v -out outfile.v
-name "voxel" -value "1 1 1"
This call changes the information about the spatial resolution (the voxel size) to 1x1x1 mm voxels.
Note that only the header information is changed, not the image content. In the above example,
the information about the spatial resolution may be false.
The information that is entered by 'vattredit' is not checked for its correctness.
The list of attributes can be visualized by using the Unix command:
more file.v
To quit from the 'more'-command, press the terminal key 'q'.
Note that a file may contain more than one objects. The parameter '-object' allows to specify the object whose header entries are to be updated. If '-object' is set to '-1' then the headers of all objects are updated.