Menu

Package that provides tools for brain MRI Deep Learning pre-processing.

Note

This page is a reference documentation. It only explains the function signature, and not how to use it. Please refer to the gallery for the big picture.

brainprep.cortical.interhemi_surfreg(fsdir, sid, template_dir)[source]

Surface-based interhemispheric registration by applying an existing atlas, the ‘fsaverage_sym’.

Parameters:

fsdir : str

the FreeSurfer subjects directory ‘SUBJECTS_DIR’.

sid : str

the subject identifier.

template_dir : str

path to the ‘fsaverage_sym’ template.

Returns:

xhemidir : str

the symetrized hemispheres.

spherefile : str

the registration file to the template.

References

Greve, Douglas N., Lise Van der Haegen, Qing Cai, Steven Stufflebeam, Mert R. Sabuncu, Bruce Fischl, and Marc Bysbaert, A surface-based analysis of language lateralization and cortical asymmetry, Journal of Cognitive Neuroscience 25.9: 1477-1492 2013.

Follow us

© 2025, brainprep developers