Module Detail Information

Name:FSLSwapDim (nii.gz)
Type: Module
Short URL:
Description:This program re-orders the data storage to permit changes between axial, sagittal and coronal slicing. When used in this mode no warning should be printed and the output files will maintain the same left-right order. It is also possible to use avwswapdim to swap the left-right order of the data, in which case a warning will be output. Also, in this case, it will not change the left-right ordering (i.e. radiological/neurological) information in the header. Therefore after swapping left-right (e.g. using -x y z as arguments) the viewed image in FSLView or slices will be different. If the header information is also appropriately swapped (by using avworient) then the image will display as it originally did, although the data will be stored in a different order. With this command it is possible to change incorrectly reconstructed data to match its header description, or to swap between neurological and radiological storage (if used in conjunction with avworient), but please use with extreme care - otherwise the left and right sides of the image may be set incorrectly! Finally, changes to the left-right ordering by swapping other axes besides the x-axis can also be done, and these will issue the same warning. However, when doing this, avwswapdim also modifies the header information about the ordering in the first voxel dimension (x) in order to maintain the previous left-right ordering in the header. This can result in confusing outputs, and so avwswapdim should not be used to change left-right ordering except by swapping the x axis. Other reorderings can be done by: (1) changing into the standard image orientation (axial) - without swapping the left-right order; (2) swapping left-right, which will now be the x axis; and (3) swapping back into the original slicing (e.g. sagittal) with another avwswapdim that does not swap the left-right order. Note that whenever a left-right order swap would occur, avwswapdim will issue a warning message.
Input Parameters:
 - Input
 - A
 - B
 - C
Output Parameters:
 - Output
File size:18.01 KB
View Source    Download    Open