[Pkg-exppsy-pymvpa] consult - Open no-header images
Marco Zanger
marcozanger at gmail.com
Fri Apr 4 15:18:51 UTC 2008
Hi,
I'm current having a problem trying to open nifti images I've created
without a header. This image is a "mask" I created using mipav, and i need
to open it though it has no header. any suggestion?
Regards,
Marco
The traceback is this:
** ERROR (nifti_image_read): cannot create nifti image from header
'mask.nii'
Traceback (most recent call last):
File "/home/marcozanger/workspace/MRISegment/src/MRI/ParseOptimized.py",
line 333, in <module>
ERROR, UNEXPECTED EXCEPTION
Error while opening nifti header.
main()
File "/home/marcozanger/workspace/MRISegment/src/MRI/ParseOptimized.py",
line 269, in main
mask = NiftiImage('mask')
File "/usr/lib/python2.5/site-packages/nifti/niftiimage.py", line 322, in
__init__
self.__newFromFile( source, load )
File "/usr/lib/python2.5/site-packages/nifti/niftiimage.py", line 417, in
__newFromFile
raise RuntimeError, "Error while opening nifti header."
RuntimeError: Error while opening nifti header.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.alioth.debian.org/pipermail/pkg-exppsy-pymvpa/attachments/20080404/e18765ee/attachment.htm
More information about the Pkg-exppsy-pymvpa
mailing list