Hi,
You can easily change the output datatype, by setting your
FSLOUTPUTTYPE environment variable to NIFTI instead of the default
NIFTI_GZ
If you want to change the IO to use standard input/output, you'll
need to change the IO library source code.
Cheers, Steve.
On 2 Sep 2007, at 14:22, William Copen wrote:
> I'm calling the command-line version of MCFLIRT from within another
> C program, using system(). My
> results have been good. However, it takes a very long time to read
> in the image data file (about 185
> MB per data set), and another very long time to write out the image
> data file. Then, because MCFLIRT
> writes out .nii.gz file, I have to spend even more time gunzipping
> the output.
>
> I'd like to speed up this process in any way I can. For example,
> would it be possible for me to supply
> my image data to mcflirt via a pipe to standard input, and/or to
> receive the output via a pipe to
> standard output? Failing that, is there some way for me to ask
> mcflirt not to gzip the output, so that
> I wouldn't have to spend time gunzipping it?
>
> Thanks in advance.
------------------------------------------------------------------------
---
Stephen M. Smith, Professor of Biomedical Engineering
Associate Director, Oxford University FMRIB Centre
FMRIB, JR Hospital, Headington, Oxford OX3 9DU, UK
+44 (0) 1865 222726 (fax 222717)
[log in to unmask] http://www.fmrib.ox.ac.uk/~steve
------------------------------------------------------------------------
---
|