[MINC-users] mnc2nii

Marc BOUFFARD bouffard at bic.mni.mcgill.ca
Tue Nov 20 15:15:11 EST 2007



On Tue, 20 Nov 2007, Vladimir FONOV wrote:

> Marc BOUFFARD wrote:
> > Hello,
> >
> > when using mnc2nii, version:
> >
> > program: 1.4
> > libminc: 1.4
> > netcdf : 3.6.1 of Jul  5 2006 14:12:05 $
> >
> > mnc2nii -short -unsigned -nii file.mnc
> >
> > sometimes, randomly as far as I can tell, it produces a segmentation fault
> > see below:
> >
>
> For me it usually fails if I specify the file extension
> i.e
> mnc2nii -short -unsigned -nii file.mnc output.nii   - may fail
> mnc2nii -short -unsigned -nii file.mnc output   - would work , producing
> output.nii
>
Specifying the output file without or without an extension or not
specifying any output file at all makes no difference in my experience.
The only fix that seems to work is repetitively changing the input file
name until mnc2nii succeeds.

Marc


More information about the MINC-users mailing list