Differences between revisions 3 and 4
Revision 3 as of 2026-02-10 16:28:55
Size: 1558
Editor: YujingHuang
Comment:
Revision 4 as of 2026-02-10 16:29:56
Size: 1622
Editor: YujingHuang
Comment:
Deletions are marked like this. Additions are marked like this.
Line 38: Line 38:
[[mri_warp_convert]] (similar functionality for warp fields)

Index

Name

mri_concatenate_lta

Description

Concatenates two consecutive LTA transformations into one overall transformation, Out = LTA2*LTA1

Synopsis

mri_concatenate_lta [options] lta_1 lta_2 lta_final

Arguments

Required Arguments

lta_1

maps some src1 to dst1

lta_2

maps dst1(src2) to dst2

lta_final

the combined LTA maps: src1 to dst2 = LTA2*LTA1

Optional Arguments

Flag

Description

-tal file1 file2

if lta2 is talairach.xfm specify src (file1) and template (file2) for the talairach xfm.

-invert1

invert lta_1 before applying it

-invert2

invert lta_2 before applying it

-invertout

invert output lta

-out_type

set final LTA type: 0 VOX2VOX (default), 1 RAS2RAS

-subject subject

set subject in output lta

-rmsdiff radius outputfile

computes RMS diff between transforms using MJ's formula a radius of 70 is suggested. RMS will be saved in outputfile unless outputfile = nofile Eg, mri_concatenate_lta -rmsdiff 70 rms.dat lta1 lta2, note: no output lta

You can use 'identity.nofile' as the filename for lta2 e.g.: mri_concatenate_lta -invert1 lta1.lta identity.nofile inv1.lta

Reporting Bugs

Report bugs to < analysis-bugs@nmr.mgh.harvard.edu >

See Also

lta_convert (convert between different linear transform formats)

mri_concatenate_gcam (concatenate or invert warp fields)

mri_warp_convert (similar functionality for warp fields)

mri_convert -at or -ait (apply transforms to an image)

mri_concatenate_lta (last edited 2026-02-10 18:38:07 by YujingHuang)