Hi,
Another thing to check out is whether all of your input files
are really single 3D files. It isn't hard to accidentally overwrite
a 3D volume with a 4D merged output, or to create a new one, and
therefore get the problem you describe.
To check the sizes the easiest way is to do:
avwhd runBLAH.img | cat -v | grep '^dim4'
for each image either (a) manually or (b) with a little
script like this bash one:
for fname in run1_f*.img ; do avwhd $fname | cat -v | grep '^dim4' ; done
All the dim4 results should be 1 if things are OK.
All the best,
Mark
Tracy Luks wrote:
> I'm trying to use avwmerge with Mac OSX.2. I have a directory with 60 3D
> analyze files (i.e. 60 img and 60 hdr files). When I enter:
>
> avwmerge -t OUT run1_f*.img
>
> I get a 4D file with 120 volumes. If I enter the same thing with three
> complete file names, I get a 4D file with 3 volumes, BUT if I enter the
> same thing with 30 complete file names, I get a 4D file with 60 volumes.
>
> Any ideas?
>
> Thanks,
> Tracy Luks
>
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> Tracy L. Luks, Ph.D.
> Magnetic Resonance Science Center
> 1 Irving St., AC-109
> Department of Radiology
> University of California, San Francisco
> San Francisco CA 94143-1290
> Tel: (415)514-0947
> (650)219-6927
> Email: [log in to unmask]
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|