Hi All, I was trying to use the registration file that is created by mri_robust_register with mri_vol2vol - but it is in a different format than registration files created by bbregister or tkregister. Is it fsl format? Is there an easy way to use this registration file with other freesurfer functions (like mri_vol2vol)?
Thanks very much,
-kami
--------------------------------------------------------------- Kami Koldewyn, PhD. McGovern Institute for Brain Research MIT, Building 46 Room 4141 (Kanwisher Lab) Cambridge, MA 02139 kamik@mit.edu
Hi Kami
mri_robust_register should create .lta files (linear transform arrays, although in practice they are almost always just single linear transforms), which is our preferred xform file format as it has all the necessary info to figure out coordinate systems and such. The current version of vol2vol (and in fact anything that reads a register.dat) should be able to read it fine, just make sure the extension is .lta so things know what format it is.
cheers Bruce
On Fri, 29 Jul 2011, Kami Koldewyn wrote:
Hi All, I was trying to use the registration file that is created by mri_robust_register with mri_vol2vol - but it is in a different format than registration files created by bbregister or tkregister. Is it fsl format? Is there an easy way to use this registration file with other freesurfer functions (like mri_vol2vol)?
Thanks very much,
-kami
Kami Koldewyn, PhD. McGovern Institute for Brain Research MIT, Building 46 Room 4141 (Kanwisher Lab) Cambridge, MA 02139 kamik@mit.edu
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
Hi Kami,
I usually use mri_convert -at nameof.lta source.mgz mapedsource.mgz
it simply works (w/o the need to specify a target-template volume) because the information is stored in the lta file.
mri_vol2vol should work also w/o problems. I guess we should add a --lta flag to it at some point, but --reg should work (if extension is .lta). Sadly you still need to specify the --targ template volume there.
Best, Martin
On Fri, 2011-07-29 at 15:07 -0400, Kami Koldewyn wrote:
Hi All, I was trying to use the registration file that is created by mri_robust_register with mri_vol2vol - but it is in a different format than registration files created by bbregister or tkregister. Is it fsl format? Is there an easy way to use this registration file with other freesurfer functions (like mri_vol2vol)?
Thanks very much,
-kami
Kami Koldewyn, PhD. McGovern Institute for Brain Research MIT, Building 46 Room 4141 (Kanwisher Lab) Cambridge, MA 02139 kamik@mit.edu
Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
freesurfer@nmr.mgh.harvard.edu