Hi all,

I'm trying to improve Python handling of FreeSurfer-generated .nii
surface files (https://github.com/nipy/nibabel/pull/315).

If I'm reading load_nifti.m
(https://code.google.com/p/fieldtrip/source/browse/trunk/external/freesurfer/load_nifti.m)
and load_nifti_hdr.m correctly, there are three possible shapes, given a
surface with x nodes:

x < 2^15   => (x, 1, 1)
x = 163842 => (27307, 1, 6)
otherwise  => (-1, 1, 1) (and glmin = x)

On the other hand,
https://surfer.nmr.mgh.harvard.edu/fswiki/mri_surf2surf#line-37 suggests
that there might be other reshaping cases. For example, this suggests
that ico6 should result in a shape of (6827, 1, 6), however I have found
that mri_surf2surf[0] produces a volume with (-1, 1, 1).

So I want to verify that the above are all of the possible shapes, or
get more information to account for any undiscovered possibilities.

Thanks.

-- 
Christopher J Markiewicz
Ph.D. Candidate, Quantitative Neuroscience Laboratory
Boston University

[0] Command: mri_surf2surf --hemi rh --srcsubject fsaverage \
        --srcsurfval $SUBJECTS_DIR/fsaverage/surf/rh.orig.avg.area.mgh \
        --trgsubject ico --trgsurfval rh.ico6.nii --trgicoorder 6
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer


The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.

Reply via email to