07/03/2018 at 9:10 PM
#5025
andreashorn
Keymaster
Hi mar,
no clue exactly what happened but it shouldn’t run into array size issues. What you can try:
– Don’t rename the atlas folder to something with a dash (‘ – copia’) but try to avoid blanks and dashes in filepaths where you can
– delete the gm_mask.nii and try again
– check out each nifti image in the generated atlas folder. Any of them looking suspicious? These are just normal nifti files, so you can look at them and compare them to niftis of other atlases.
– if not create the atlas manually (without the labeling2atlas script but e.g. only use selected items from the labeling file that you can e.g. export using the SPM imcalc.
Best, Andy