why not just invertthe matrix? The inverse is
1.0022 0.0071 -0.0177 0.0528 -0.0146 0.9990 0.0027 -1.5519 0.0129 0.0094 1.0027 -1.2012 0 0 0 1.0000 On 11/12/2013 09:59 AM, Anita van Loenhoud wrote: > Dear FreeSurfers, > > I have a question regarding conversion from MNI152 coordinates to > MNI305 coordinates. I want to take ROIs from a VBM study and use these > exact same ROIs in my vertexwise analysis. So I need to translate the > x, y, z coordinates from MNI152 space into MNI305 space. In previous > posts, I found a matrix that converts from MNI305 coordinates to MNI152: > > M = [ 0.9975 -0.0073 0.0176 -0.0429 > 0.0146 1.0009 -0.0024 1.5496 > -0.0130 -0.0093 0.9971 1.1840 > 0 0 0 1.0000] > P305 = [MNI305x MNI305y MNI305z 1]'; > P152 = M*P305 > > However, I want to do it the other way around. I tried to calculate > the inverse matrix but haven't succeeded. Does anyone have (or know > how to create) the matrix/formula I need? > > It would be very helpful, thanks in advance. > > Anita > > > _______________________________________________ > Freesurfer mailing list > Freesurfer@nmr.mgh.harvard.edu > https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer -- Douglas N. Greve, Ph.D. MGH-NMR Center gr...@nmr.mgh.harvard.edu Phone Number: 617-724-2358 Fax: 617-726-7422 Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2 www.nmr.mgh.harvard.edu/facility/filedrop/index.html Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/ _______________________________________________ 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 Partners Compliance HelpLine at http://www.partners.org/complianceline . If the e-mail was sent to you in error but does not contain patient information, please contact the sender and properly dispose of the e-mail.