table of contents
LIPSIA     Edit file headers
vattredit
The program 'vattredit' is used to manually edit entries in file headers.

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.

Parameters of 'vattredit':
-help
Prints usage information.
-in
Input file. Default: (none)
-out
Output file. Default: (none)
-name
Attribute name. Default: (none)
-value
Value to be set. Default: (none)
-object
Object identification. Default: -1


Max Planck Institute for Human Cognitive and Brain Sciences. Further Information: lipsia@cbs.mpg.de
Copyright © 2007 Max Planck Institute for Human Cognitive and Brain Sciences. All rights reserved.