[MINC-users] nii2mnc - Analyze - Bad header size
Pedro Telles Cougo Pinto
ptcougopinto at gmail.com
Thu Apr 7 15:30:29 EDT 2016
Thanks everyone. ana2mnc worked.
> On Apr 7, 2016, at 12:09, Robert D. Vincent <robert.d.vincent at mcgill.ca> wrote:
>
> Hi all,
>
> Sorry about that. There was some old code in there to convert Analyze but
> it had not been tested lately. I just fixed it and verified that it
> converts the files I just downloaded from LONI. I pushed the fix to the
> develop branch of https://github.com/BIC-MNI/minc-tools
>
> I'll add a TODO to write some regression tests for this...
>
> -bert
>
> On Thu, Apr 7, 2016 at 8:59 AM, Pedro Telles Cougo Pinto <
> ptcougopinto at gmail.com> wrote:
>
>> Dear all
>>
>> I’m trying to convert some DTI white matter data from Analyze format, with
>> the following message. (Data downloaded from LONI:
>> http://loni.usc.edu/atlases/).
>>
>> ptcougopinto$ nii2mnc ICBM_DTI_81_WMPM.img icbm_dti_81_wmpm.mnc
>> Bad header size!!
>> orient = 0
>> <nifti_image
>> nifti_type = 'ANALYZE-7.5'
>> header_filename = 'ICBM_DTI_81_WMPM.hdr'
>> image_filename = 'ICBM_DTI_81_WMPM.img'
>> image_offset = '0'
>> ndim = '4'
>> nx = '181'
>> ny = '217'
>> nz = '181'
>> nt = '1'
>> dx = '1'
>> dy = '1'
>> dz = '1'
>> dt = '1'
>> datatype = '2'
>> datatype_name = 'UINT8'
>> nvox = '7109137'
>> nbyper = '1'
>> byteorder = 'LSB_FIRST'
>> descrip = '/usr/local/air-5.2.5_64_8/bin/reorient'
>> num_ext = '0'
>> />
>> Segmentation fault: 11
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>>
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
More information about the MINC-users
mailing list