users > "reformatx" vs. old "reformat" tool
Showing 1-1 of 1 posts
Oct 13, 2010 08:10 PM | Torsten Rohlfing
"reformatx" vs. old "reformat" tool
Hi - please see the CMTK User's Guide ;)
In short, reformatx is the "eXtended" reformat tool. Most notably it supports concatenation of arbitrary series of transformations with the option of inverting each one along the line.
The equivalent of your call below is:
reformatx -v --linear --pad-out -o --floating
where each "xform" can optionally be prefixed with "--inverse" to invert it on the fly. (B-spline FFDs are numerically inverted in this case).
So you see you now need to explicitly give the fixed and moving images on the command line, whereas the old tool read them from the transformation directory. This is the price we pay for being able to concatenate transformations and/or invert them.
Hope this makes sense.
TR
PS: please use the CMTK User's Forum on NITRC ;)
On 10/13/2010 01:32 PM, Kilian Pohl wrote:
> Hi Torsten,
>
> After doing the non-rigid warp, I used to call the resampling function the following way
>
> $MathImage(BSplineBinDirectory)/reformat -v -i linear --set-null -o
In short, reformatx is the "eXtended" reformat tool. Most notably it supports concatenation of arbitrary series of transformations with the option of inverting each one along the line.
The equivalent of your call below is:
reformatx -v --linear --pad-out -o --floating
where each "xform" can optionally be prefixed with "--inverse" to invert it on the fly. (B-spline FFDs are numerically inverted in this case).
So you see you now need to explicitly give the fixed and moving images on the command line, whereas the old tool read them from the transformation directory. This is the price we pay for being able to concatenate transformations and/or invert them.
Hope this makes sense.
TR
PS: please use the CMTK User's Forum on NITRC ;)
On 10/13/2010 01:32 PM, Kilian Pohl wrote:
> Hi Torsten,
>
> After doing the non-rigid warp, I used to call the resampling function the following way
>
> $MathImage(BSplineBinDirectory)/reformat -v -i linear --set-null -o