Hi all,

I have a data set of 14 subjects with intracranial (both cortical and subcortical) electrode implants, already recon'ed in Freesurfer, with an average brain + surface computed of these subjects. I would like to map each subject's electrode coordinates (a set of RAS points) into the average brain using a nonlinear transformation to account for individual deviations in surface topology.

I'm trying to figure out the steps that must be taken to achieve this. With my average brain as a template, it seems like I would use mri_cvs_register to produce each subject warped onto the template. After generating those warps, how does one apply the same warp to a set of coordinates, for example to find out where my electrodes end up in the template brain? Which output file in .../cvs contains the data necessary to compute the coordinates in the template?

I'd appreciate any instruction, thanks!

David