Hello All,
I am trying to create a script that will automatically register an ROI that is in MNI space (or tailarach) to an individual EPI image in their own space. My thought process is as followings:
Register an MNI template brain to the individual EPI image. Then apply that transformation matrix to the ROI.
I am having trouble figuring out how to do this entirely in a Matlab script. I've seen a couple of examples here in the listserv, but none of them are detailed enough for me to work off of. I've been utilizing the spm_vol, spm_coreg, spm_matrix, spm_get_space, and spm_reslice (in that order). But I must not be doing it right, because the ROI never gets accurately registered to the individual space.
Any thoughts on how to most efficiently do this?
Thanks!
Mike Jones
|