users > RE: Transform a set of coordinates (not image) with registration output
Dec 29, 2017  10:12 AM | Torsten Rohlfing - Google Inc.
RE: Transform a set of coordinates (not image) with registration output
Hi Dan -

I think the "streamxform" tool should do exactly what you want. The command line takes a single or multiple transform files, analogous to the "reformatx" tool.

It will then read x,y,z coordinates from standard inputs, one point per line, and write transformed coordinates to standard output.

Note, however, that the direction of the transform appears reversed relative to "reformatx", that is, the input coordinates are expected to be in the space of the reference image, and the transformed points will be in the coordinates of the moving image. Thus, while reformatx will produce a resliced moving image in the space of the reference, streamxform will produce a transformed reference image geometry in the space of the moving image.

Hope this makes sense.

Best,
 Torsten
Threaded View
Title
Author
Date
RE: Transform a set of coordinates (not image) with registration output
Dec 29, 2017