Hi Julius,
I guess you could still use file_tool to reorder all of
your images. Try something like:
---------------------------------------------------------
set infile = INPUT_FILE
set outfile = OUTPUT_FILE
set num_tr = 100 # or whatever
# for 11 64x64 images of shorts
@ half_vol = 64 * 64 * 2 * 11
set offset0 = $half_vol
set offset1 = 0
echo -n "" > $outfile # create an empty file
set count = 0
while ( $count < $num_tr )
file_tool -quiet -offset $offset0 -length $half_vol -infiles $infile >> $outfile
file_tool -quiet -offset $offset1 -length $half_vol -infiles $infile >> $outfile
@ offset0 += $half_vol * 2
@ offset1 += $half_vol * 2
@ count++
end
---------------------------------------------------------
So basically for each volume, get the second half, then
the first half, then increment your offsets by an entire
volume size. Send all output back to a single file.
Hopefully that will work for you.
- rick