[Insight-users] Problems with nifti File io and vector images.
Luke Bloy
luke.bloy at gmail.com
Wed Jul 2 14:23:12 EDT 2008
Hi i'm having trouble writing VectorImages to nifti files. What I'm
trying to do is convert a 4D analyze Image to a 3D vectorImage. I'm
attaching a testProgram that does this.
It works fine if i specify the output as either .nhdr or as .mhd but if
i specify the output as .nii I get a 352 byte nii file. ie the
databuffer doesn't get written to the file? If i use the 2 file nifti
then I get the header and a 0 byte img file?
any ideas?
-Luke
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testImageToVect.cxx
Type: text/x-c++src
Size: 4947 bytes
Desc: not available
URL: <http://www.itk.org/pipermail/insight-users/attachments/20080702/127d00ac/attachment.cxx>
More information about the Insight-users
mailing list