[Insight-users] nifti IO

Hans Johnson hans-johnson at uiowa.edu
Wed Aug 3 09:09:22 EDT 2005


Richard,

The version of nifti that is committed is not working yet.  We have
non-committed code that is very close to being able to read in an image, and
the writing part is coming along nicely.

We will have a full implementation by the August 15th Freeze date for new
features to be included in the next release of ITK.

Please be patient and give us a few more days.  Also keep an eye on the
mailing list, we will post our progress as we get the reader done.

Hans
 


On 8/2/05 9:30 PM, "Richard Beare" <richard.beare at gmail.com> wrote:

> Hi,
> I'm experimenting with the nifti io in the cvs version of ITK. I've
> registered the Factory and attempted to write nifti files from a
> program that I'm currently using to successfully write tiff and
> analyze files. It attempts to write nifti, so my registration seems to
> have worked. Is there another step I've missed? The data I'm writing
> is 3D, unsigned short. My registration step is:
> 
> itk::niftiImageIOFactory::RegisterOneFactory();
> 
> gdb output is:
> 
> (gdb) where
> #0  0x000000329b16fe59 in strncpy () from /lib64/tls/libc.so.6
> #1  0x00002aaaaadf0f9d in itk::niftiImageIO::WriteImageInformation ()
>    from /home/richardb/local/lib/InsightToolkit/libITKIO.so
> #2  0x00002aaaaadf1504 in itk::niftiImageIO::Write ()
>    from /home/richardb/local/lib/InsightToolkit/libITKIO.so
> #3  0x0000000000429120 in itk::ImageFileWriter<itk::Image<unsigned
> short, 3u> >::GenerateData ()
> #4  0x0000000000427337 in itk::ImageFileWriter<itk::Image<unsigned
> short, 3u> >::Write ()
> #5  0x0000000000429d86 in itk::ImageFileWriter<itk::Image<unsigned
> short, 3u> >::Update ()
> #6  0x000000000041f7fa in main ()
> 
> Thanks
> _______________________________________________
> Insight-users mailing list
> Insight-users at itk.org
> http://www.itk.org/mailman/listinfo/insight-users
> 




More information about the Insight-users mailing list