External Email - Use Caution Dear Freesurfers!
I have two single-slice images that were acquired with different head positions. Thanks to a fancy AutoAlign-like routine at the scanner (areg by Paul Wighton), the fov of the second image tracked the movement of the head—the brain nicely aligns when overlaying the two untouched image grids with e.g. fslview. To leverage this online registration and properly visualize images in freeview, I need the fov position in header of the second image to be the same as in the header of the first image—basically pretending the head did not move and the two images were acquired with the exact same scanner-space fov position. So far I achieved that in a somewhat inelegant way by loading the first header in matlab with MRIread.m and manually adding the volume data from the second image before saving with MRIwrite.m. That however does not work when the second image have different voxel and matrix sizes—e.g. my second image has twice the resolution of the first and gets blown up to twice the size in freeview after my makeshift header change :-( I suspect a better solution could use mri_vol2vol with an appropriate registration matrix, but I don't know how to get the appropriate matrix. Any suggestions? thanks a lot for the help and Have a very good day! Sébastien
_______________________________________________ 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 Mass General Brigham Compliance HelpLine at https://www.massgeneralbrigham.org/complianceline <https://www.massgeneralbrigham.org/complianceline> . Please note that this e-mail is not secure (encrypted). If you do not wish to continue communication over unencrypted e-mail, please notify the sender of this message immediately. Continuing to send or respond to e-mail after receiving this message means you understand and accept this risk and wish to continue to communicate over unencrypted e-mail.