Hi Paul,

I'm afraid I don't know what's going on here.
Sometimes we find images are minimally corrupted and they can work on some machines but not others, or at some times but not others.  One way that might fix it is to run fslmaths on the image, as that can sometimes rectify bad parts of the header.  To do this you just run fslmaths like this:

fslmaths current_image new_image
  (where the two names should be changed as appropriate).

Then see if "new_image" is any better.

All the best,
Mark


On 7 Aug 2017, at 16:48, Paul Zeun <[log in to unmask]> wrote:

Hello

I am having difficulty opening a specific file using fslview and wondered if someone could help.

I have used freesurfer to do a cortical parcellation and FSL FIRST to do the subcortical structures using FSL FIRST. I am then using niftireg to register the resulting image to diffusion space. It is the resultant image in .nii.gz format that will not open in fslview with the error command below. However I can open other .nii.gz files outputted normally. 

fslview_bin: /usr/local/boost_1_33_1/boost/shared_ptr.hpp:253: T* boost::shared_ptr<T>::operator->() const [with T = OverlayList]: Assertion `px != 0' failed.
/midas-data/software/fsl/bin/fslview: line 6: 14931 Aborted                 (core dumped) ${FSLDIR}/bin/fslview_bin $@


I have version 6.0 installed and it is opening other images fine. Indeed the image that is not opening will open normally on a colleagues computer using fslview indicating the file is not corrupted.



Can anyone help here?

Thanks
Paul


Sent from Outlook