You can use mri_matrix_multiply. Use -im to input a matrix, use -iim to 
input a matrix that will be inverted.
doug

On 06/04/2012 12:13 PM, Clark Fisher wrote:
> Hi Doug,
>
> I do plan to manually align the functionals to the structural as a final 
> step, but our epi scans look different enough from our T1s that I want to use 
> this as a starting point.  Also, combining transforms is something I've 
> wanted to be able to do a few times now as I explore different ways of 
> looking at my data, so I think it could be useful for the future.
>
> One thing that seems to have worked for my current case is to convert my 
> registrations to the xfm format, add a final row to make a 4x4 matrix, 
> multiply them in matlab, and make a new xfm file with the resulting matrix.  
> Is there a better way to do this?
>
> -Clark
>
>

-- 
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: www.nmr.mgh.harvard.edu/facility/filedrop/index.html

_______________________________________________
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.

Reply via email to