Hi Stam,
Thanks very much fslroi was asking for number 0 in K (your notation) it was not accepting when i supplied the slice number for instance say 10 so this wasn't working for me, I just saw in FSL utilities a tool named "fslslice" this does the job of separating the slices in a volume.
Thanks very much again
Venkat
-----Original Message-----
From: FSL - FMRIB's Software Library on behalf of Stamatios Sotiropoulos
Sent: Wed 9/22/2010 5:09 PM
To: [log in to unmask]
Subject: Re: [FSL] separating a slice from a volume
Hi Venkat,
you need to use fslroi. Let's say that Nx and Ny are the number of voxels in the x and y dimensions respectively and you want to extract slice number K. You need to run something like:
fslroi input output 0 Nx 0 Ny K 1
Cheers,
Stam
On 22 Sep 2010, at 21:33, Rajagopalan, Venkateswaran wrote:
>
> Hi All,
>
> I am wondering how to isolate a slice from a volume. I am trying to calculate some measures only in some particular slices say slice number 10 , 15, .. in a volume, I tried using fslroi unfortunately I don't know how to get only slice number 10 or 11 since it requires a min and size value. I also looked at in archives but unable to find questions similar to mine. Any suggestion will he of much help.
>
> Thanks
>
> Venkat
>
>
>
> ===================================
> P Please consider the environment before printing this e-mail
>
>
>
> Cleveland Clinic is ranked one of the top hospitals
> in America by U.S.News & World Report (2009).
> Visit us online at http://www.clevelandclinic.org for
> a complete listing of our services, staff and
> locations.
>
>
> Confidentiality Note: This message is intended for use
> only by the individual or entity to which it is addressed
> and may contain information that is privileged,
> confidential, and exempt from disclosure under applicable
> law. If the reader of this message is not the intended
> recipient or the employee or agent responsible for
> delivering the message to the intended recipient, you are
> hereby notified that any dissemination, distribution or
> copying of this communication is strictly prohibited. If
> you have received this communication in error, please
> contact the sender immediately and destroy the material in
> its entirety, whether electronic or hard copy. Thank you.
>
===================================
P Please consider the environment before printing this e-mail
Cleveland Clinic is ranked one of the top hospitals
in America by U.S.News & World Report (2009).
Visit us online at http://www.clevelandclinic.org for
a complete listing of our services, staff and
locations.
Confidentiality Note: This message is intended for use
only by the individual or entity to which it is addressed
and may contain information that is privileged,
confidential, and exempt from disclosure under applicable
law. If the reader of this message is not the intended
recipient or the employee or agent responsible for
delivering the message to the intended recipient, you are
hereby notified that any dissemination, distribution or
copying of this communication is strictly prohibited. If
you have received this communication in error, please
contact the sender immediately and destroy the material in
its entirety, whether electronic or hard copy. Thank you.
|