Skip to content

Neuroimaging Informatics Technology Initiative

Sections
Personal tools
You are here: Home
phorum - NIfTI Message Board - Re: Working with fsliolib and IDL
NIfTI Message Board

 New Topic  |  Go to Top  |  Go to Topic  |  Search   Previous Message  |  Next Message 
 Re: Working with fsliolib and IDL
Author: rick reynolds (---.nimh.nih.gov)
Date:   04-14-09 12:19

Hi Ron,

So I just added an example program for using some of the top-level
nifticlib functions, that basically reads as:

nim = nifti_image_read(fin, 1);
nifti_set_filenames(nim, fout, 1, 1);
nifti_image_write(nim);
nifti_image_free(nim);

This should work for any valid filename suffix:.nii/.hdr/.img,
and possibly ending with .gz, applying to both 'fin' and 'fout'.

The file is Clibs/examples/clib_01_read_write.c, and is available as
part of the NIfTI library at the quick download site of:

http://nifti.nimh.nih.gov/pub/dist/data/Clibs.tgz

There are lots of useful functions listed in nifti1_io.h (starting
under "main read/write routines").

How does that seem?

- rick



 Reply To This Message  |  Flat View   Newer Topic  |  Older Topic 

 Topics Author  Date
 Working with fsliolib and IDL  
Ron Kneusel 03-25-09 13:14 
 Re: Working with fsliolib and IDL  
rick reynolds 04-05-09 21:01 
 Re: Working with fsliolib and IDL  
Ron Kneusel 04-08-09 15:55 
 Re: Working with fsliolib and IDL  new
rick reynolds 04-09-09 10:04 
 Re: Working with fsliolib and IDL  
Ron Kneusel 04-09-09 16:42 
 Re: Working with fsliolib and IDL  new
Ron Kneusel 04-13-09 11:30 
 Re: Working with fsliolib and IDL  
rick reynolds 04-14-09 12:19 
 Re: Working with fsliolib and IDL  new
Ron Kneusel 04-14-09 12:43 
 Re: Working with fsliolib and IDL  new
Ron Kneusel 05-06-09 13:27 
 Re: Working with fsliolib and IDL  new
Ron Kneusel 05-06-09 15:06 
 Re: Working with fsliolib and IDL  new
rick reynolds 05-07-09 16:46 
 Re: Working with fsliolib and IDL  new
Ron Kneusel 05-26-09 17:26 
 Re: Working with fsliolib and IDL  new
rick reynolds 05-27-09 09:42 


 New Topic  |  Go to Top  |  Go to Topic  |  Search 
 Reply To This Message
 Your Name:
 Your E-mail:
 Subject:
   
 

Powered by Plone

phorum.org

This site conforms to the following standards: