Hi Markus,
It is automated by our matlab reader/writer in
$FSLDIR/etc/matlab
All the best,
Mark
On 13 Feb 2009, at 08:16, Markus Gschwind wrote:
> Hi Matt!
>
> I also wanted to do so ;-)
> Did you manage to automate this procedure? So as you load in the
> nii.gz file and it is automatically read? And when you write it it
> is automatically written as nii.gz?
> Would you mind giving some hints?
>
> I have something like this,
> cmd = ['E:\CONVERT\7-Zip\7z.exe a -tzip "' zipname '" "' wkdir '"
> -r'];
> [s,w] = system(cmd,'-echo');
>
> but I wold like to automate it. Is this possible?
>
> That would be great!
>
> Thank you!
> Markus
>
>
> 2009/2/13 Matt Glasser <[log in to unmask]>
> I use http://www.mathworks.com/matlabcentral/fileexchange/8797 and
> wrote a
> wrapper to unzip and rezip the images to and from .nii.gz
>
> Peace,
>
> Matt.
>
> -----Original Message-----
> From: FSL - FMRIB's Software Library [mailto:[log in to unmask]] On
> Behalf
> Of siamak
> Sent: Thursday, February 12, 2009 5:40 PM
> To: [log in to unmask]
> Subject: Re: [FSL] .nii volume to matlab format?
>
> Hi,
>
> Another possibility is as follows: Open you nifti file in AFNI, then
> save
> all the
> slides in a format that is compatible to matlab, such as jpeg.
>
> Best,
> Siamak
>
>
>
> --
> Dr. med. Markus Gschwind, M.D.
> Laboratory for Neurology and Imaging of Cognition
> Dept of Neurosciences
> University Medical Center (CMU)
> 1 Michel-Servet - 1211 GENEVA - CH
>
> Tel 0041 (0) 22 379 5324
> Fax 0041 (0) 22 379 5402
> email: [log in to unmask]
> http://labnic.unige.ch
|