sorry Christian, I think I got it.
Thanks a lot for your help
Xuelin
****************************************
Xuelin Cui
Department of Electrical Engineering
University of Hawaii-Manoa
Honolulu HI 96822
Tel: 1-808-956-0856
Email: [log in to unmask]
****************************************
----- Original Message -----
From: "Christian F. Beckmann" <[log in to unmask]>
Date: Sunday, November 4, 2007 9:26 pm
Subject: Re: [FSL] AW: [FSL] how does MELODCI organize spatial maps?
To: [log in to unmask]
> Hi
>
> On 5 Nov 2007, at 00:35, Xuelin Cui wrote:
>
> > Thanks Christian.
> >
> > Last question: I want to pick from 4th slice to 45th slice for a
> > single IC, and I ran the command line below:
> >
> > avwroi melodic_IC out 0 64 0 64 4 45 0 30
> >
> > Then I checked the out.nii.gz and found that there are 45 slices.
>
> yes, zsize is set to 45, so you should be getting 45
>
> > I guess it still starts from the 1st slice.
>
> No, help says: "counting (in both time and space) starts with 0 not
> 1!"
> > how should I change the command line that I can start from 4th
> slice?
> it already does, read the help
>
> >
> > Thanks
> >
> > Xuelin
> >
> > ****************************************
> > Xuelin Cui
> > Department of Electrical Engineering
> > University of Hawaii-Manoa
> > Honolulu HI 96822
> >
> > Tel: 1-808-956-0856
> > Email: [log in to unmask]
> > ****************************************
> >
> > ----- Original Message -----
> > From: "Christian F. Beckmann" <[log in to unmask]>
> > Date: Monday, November 5, 2007 6:23 am
> > Subject: Re: [FSL] AW: [FSL] how does MELODCI organize spatial maps?
> > To: [log in to unmask]
> >
> >> Hi
> >>
> >> with previous versions of FSL use avwroi instead
> >> hth
> >> christian
> >>
> >>
> >> On 4 Nov 2007, at 21:17, Xuelin Cui wrote:
> >>
> >>> My FSL is not the latest version. Do I have to download the
> >> newest
> >>> one to run fslroi command line?
> >>>
> >>> Thanks
> >>>
> >>> XC
> >>>
> >>> ****************************************
> >>> Xuelin Cui
> >>> Department of Electrical Engineering
> >>> University of Hawaii-Manoa
> >>> Honolulu HI 96822
> >>>
> >>> Tel: 1-808-956-0856
> >>> Email: [log in to unmask]
> >>> ****************************************
> >>>
> >>> ----- Original Message -----
> >>> From: Andreas Bartsch <[log in to unmask]>
> >>> Date: Sunday, November 4, 2007 8:32 pm
> >>> Subject: [FSL] AW: [FSL] how does MELODCI organize spatial maps?
> >>> To: [log in to unmask]
> >>>
> >>>> Hi Xuelin,
> >>>>
> >>>> have you looked at the fslroi syntax?
> >>>> It is very easy;)?
> >>>> Cheers-
> >>>> Andreas
> >>>>
> >>>> ________________________________
> >>>>
> >>>> Von: FSL - FMRIB's Software Library im Auftrag von Xuelin Cui
> >>>> Gesendet: So 04.11.2007 12:13
> >>>> An: [log in to unmask]
> >>>> Betreff: Re: [FSL] how does MELODCI organize spatial maps?
> >>>>
> >>>>
> >>>>
> >>>> Thanks
> >>>>
> >>>> But, what if I have 47 slices, but I only prefer slice from
> 4th to
> >>>> 45th?
> >>>> Thanks
> >>>>
> >>>> Xuelin
> >>>>
> >>>> ****************************************
> >>>> Xuelin Cui
> >>>> Department of Electrical Engineering
> >>>> University of Hawaii-Manoa
> >>>> Honolulu HI 96822
> >>>>
> >>>> Tel: 1-808-956-0856
> >>>> Email: [log in to unmask]
> >>>> ****************************************
> >>>>
> >>>> ----- Original Message -----
> >>>> From: "Christian F. Beckmann" <[log in to unmask]>
> >>>> Date: Sunday, November 4, 2007 3:47 pm
> >>>> Subject: Re: [FSL] how does MELODCI organize spatial maps?
> >>>> To: [log in to unmask]
> >>>>
> >>>>> Hi
> >>>>>
> >>>>> that won't work - melodic_IC is 4D but your matlab code only
> >>>>> indexes
> >>>>> 3 dimensions. It's easiest to sue fslroi on the command line for
> >>>> this>
> >>>>> fslroi melodic_IC out 0 64 0 64 0 42 0 30
> >>>>>
> >>>>> hth
> >>>>> christian
> >>>>>
> >>>>> On 4 Nov 2007, at 07:38, Xuelin Cui wrote:
> >>>>>
> >>>>>> Dear FSLers:
> >>>>>>
> >>>>>> I just wonder how does MELODCI organize the spatial map of
> >>>> each IC?
> >>>>>>
> >>>>>> I looked at the report html file in IC results folder. For a
> >>>>> single
> >>>>>> IC, there are 7*7 slices displaying on the report file,
> >>>>> starting
> >>>>>> from the top of the head untill the bottom. Each slice is of
> >>>>> size
> >>>>>> 64*64, and totally there are 30 ICs. Correspondingly, my
> >>>>>> melodic_IC.nii.gz file is of size 64*64*49*30.
> >>>>>>
> >>>>>> My question really is if I want to get rid of 7 slices of
> >>>>> spatial
> >>>>>> map that starts from top of the head (first row of pictures on
> >>>>>> report html file), should I just simply remove first 7
> slices in
> >>>>>
> >>>>>> melodic_IC.nii.gz file?
> >>>>>>
> >>>>>> example in matlab:
> >>>>>>
> >>>>>> data=read_avw(ICName);
> >>>>>> data(:,:,1:ns-42)=[];
> >>>>>>
> >>>>>> where ICName is my path where melodic_IC.nii.gz is saved.
> >>>>>>
> >>>>>> Thanks alot
> >>>>>>
> >>>>>> Xuelin
> >>>>>>
> >>>>>> ****************************************
> >>>>>> Xuelin Cui
> >>>>>> Department of Electrical Engineering
> >>>>>> University of Hawaii-Manoa
> >>>>>> Honolulu HI 96822
> >>>>>>
> >>>>>> Tel: 1-808-956-0856
> >>>>>> Email: [log in to unmask]
> >>>>>> ****************************************
> >>>>>
> >>>>>
> >>>>
> >>
>
|