External Email - Use Caution Thanks Doug! I'll use lta then, but which tool do you recommend I use for inverting the matrix in order to have a freesurfer-to-diffusion registration matrix? bbregister does not seem to offer the option to invert matrices. Is tkregister2 the preferable tool to use here? I realize there is an --lta-inv ltafile option. Would this be correct?:
tkregister2 --mov B0.nii.gz --fstarg --fslregout fsl.mat --s sub01 --lta-inv reg.lta I'd like to output an FSL-style registration matrix because I intend to use some of FSL tools. Thanks for your help! Sam On Mon, Jul 22, 2019 at 10:35 PM Greve, Douglas N.,Ph.D. < dgr...@mgh.harvard.edu> wrote: > In most of the tools there is an option to invert the matrix before you > apply it. If you save the registration matrix as an LTA instead of DAT, > then most of the tools will figure out the directionality. > > On 7/22/19 4:24 PM, Sam W. wrote: > > > > External Email - Use Caution > > > > Hi, > > I would like to create a registration matrix from orig.mgz to > > diffusion space. I created a reg file with > > > > bbregister --t2 --init-fsl --reg /data/FS/sub01/reg.dat --mov > > /data/FS/sub01/B0.nii.gz --s sub001 > > > > but how can I invert this registration so that the transformation goes > > from freesurfer to diffusion space? > > Thanks! > > Sam > > > > _______________________________________________ > > Freesurfer mailing list > > Freesurfer@nmr.mgh.harvard.edu > > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer