Hi,
They do save in NIFTI_GZ.
It's been like that for some time now.
In fact they are saved in whatever format FSLOUTPUTTYPE is set to,
so you can control it as well.
All the best,
Mark
Matt Glasser wrote:
>
> Attached are the wrappers. When I looked at FSL’s Matlab function last
> it did not appear that files were saved as NIFTI_GZ. Perhaps this has
> changed?
>
> Peace,
>
> Matt.
>
> ------------------------------------------------------------------------
>
> *From:* FSL - FMRIB's Software Library [mailto:[log in to unmask]] *On
> Behalf Of *Markus Gschwind
> *Sent:* Friday, February 13, 2009 2:16 AM
> *To:* [log in to unmask]
> *Subject:* Re: [FSL] .nii volume to matlab format?
>
> 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] <mailto:[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]
> <mailto:[log in to unmask]>] On Behalf
> Of siamak
> Sent: Thursday, February 12, 2009 5:40 PM
> To: [log in to unmask] <mailto:[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
>
|