Hi
I am running fslview 3.1.8 on Ubuntu 10.10 (but note the same problem occurred on 9.04).
When I try to open a nifti image created by SPM8, after showing the splashscreen, fslview immediately quits and gives this error
fslview: //usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1> >::operator->() const [with T = OverlayList]: Assertion `px != 0' failed.
Aborted
However, if I run the image through fswapdim without actually changing the axes (i.e., choose the same axis orientation) the new image will open in fslview.
What appears to have changed is that the datatype goes from UINT16 to FLOAT32, scl_slope goes from 5.428816 to 1.000000, nbyper is 4 instead of 2 and bitpix is 32 instead of 16.
Why is fslview unable to read the UINT16 images or is there some other issue with the image header?
Thanks,
Darren
|