Hi Tracy,
this is curious. It may not be your OS, it might be one of the components
of avwmerge, as it appears to fail on my redhat linux 7.3 system.
Just for kicks, I've tried to run avwmerge on a series of T1 MPRAGE
anatomical volumes, to create a 4D file. The .img files are axial
unflipped, int16.
The command was 'avwmerge -t tmp c01.img c02.img' - here's a matlab listing
of the hdr.dime fields from c01 and the result tmp (note that tmp is a 4D
file, but there is no size in the fourth dimension):
>> c01.hdr.dime
ans =
dim: [3 128 256 256 0 0 0 0]
vox_units: ' '
cal_units: ' '
unused1: 0
datatype: 4
bitpix: 16
dim_un0: 0
pixdim: [3 1.3047 0.9800 0.9800 0 0 0 0]
vox_offset: 0
roi_scale: 1
funused1: 0
funused2: 0
cal_max: 0
cal_min: 0
compressed: 0
verified: 0
glmax: 11
glmin: 0
tmp.hdr.dime
ans =
dim: [4 128 256 256 0 0 0 0]
vox_units: ' '
cal_units: ' '
unused1: 0
datatype: 4
bitpix: 16
dim_un0: 0
pixdim: [3 1.3047 0.9800 0.9800 0 0 0 0]
vox_offset: 0
roi_scale: 1
funused1: 0
funused2: 0
cal_max: 0
cal_min: 0
compressed: 0
verified: 0
glmax: 36
glmin: 0
Cheers, Darren
----- Original Message -----
From: "Tracy L. Luks" <[log in to unmask]>
To: <[log in to unmask]>
Sent: Wednesday, October 30, 2002 10:57 AM
Subject: Re: avwmerge problem
> Hi,
>
> I have double-checked the files in my directories, and I can't find
> any abnormalities. There are no extra files, no 4D files, and no
> evidence that OSX sees them differently than any other UNIX system:
> there are 60 .img files and 60.hdr files. I'm still puzzled that
> avwmerge behaves differently when I give it three specific files and
> when I give it 30 specific files...
>
> Is there anything else that I can try?
>
> Thanks,
> Tracy Luks
>
> >Hi - this is what you would get if you were mistakenly entering
> >avwmerge -t OUT run1_f*
> >ie if you left off the .img ....but you're not doing that....
> >
> >so I suspect it is an oddity of the strange macos filesystem....what do
> >you get if you type
> >
> >echo run1_f*
> >
> >maybe you also have capitalised versions as well as lower case in the
> >directory (macos can't see the difference)?
> >
> > Thanks, Steve.
> >
> >
> >On Sat, 26 Oct 2002, 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]
> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> >>
> >
> > Stephen M. Smith
> > Head of Image Analysis, FMRIB
> >
> > Oxford University Centre for Functional MRI of the Brain
> > John Radcliffe Hospital, Headington, Oxford OX3 9DU, UK
> > +44 (0) 1865 222726 (fax 222717)
> >
> > [log in to unmask] http://www.fmrib.ox.ac.uk/~steve
>
>
> --
> ********************************************************************
> Tracy L. Luks Ph.D.
> Dynamic NeuroImaging Lab
> University of California San Francisco
> [log in to unmask]
> Office: 415-514-2527
> Cell: 650-219-6927
> Home: 415-459-5046
>
|