users > RE: landmarks, subsampling and .xform data
Jan 8, 2013  11:01 PM | Torsten Rohlfing
RE: landmarks, subsampling and .xform data
Ruben:

I just checked the convert_warp source code, and confirmed that indeed "--fractional 1" should give you the same transformation as you put in.

Now that said, even in the f=1 case, there is the same arithmetic going on as for any other fractional value, so there will likely be subtle differences due to finite floating point precision. So a binary comparison of the input and output files should be expected to show some differences.

That said, these differences should be very small and should not really affect the result of the reformatting operation (beyond, again, differences on the order of machine precision).

If you want, you can send me your input and output transformations and I'll take a look what's going on.

TR

Originally posted by Ruben Portugues:
Torsten, 
I was just checking the output of the convert_warp tool.  As I understand it, the "--fractional 1" option should equal the original transformation, so that when applied to the original stack using the reformatx tool they should give the same final outcome.  This is not the case for me.  What am I missing?

The commands I am using are:
convert_warp --fractional 1.0 warp_original.xform warp_fractional.xform
reformatx -o out_stack --floating in_stack reference_stack warp_(original or fractional).xform 

Thanks,
Ruben

Threaded View

TitleAuthorDate
Ruben Portugues Dec 17, 2012
Torsten Rohlfing Dec 17, 2012
Ruben Portugues Jan 8, 2013
Torsten Rohlfing Jan 8, 2013
Ruben Portugues Jan 8, 2013
RE: landmarks, subsampling and .xform data
Torsten Rohlfing Jan 8, 2013
Torsten Rohlfing Jan 9, 2013
Ruben Portugues Jan 9, 2013
Torsten Rohlfing Jan 9, 2013
Ruben Portugues Jan 10, 2013
Torsten Rohlfing Jan 10, 2013
Ruben Portugues Jan 10, 2013
Torsten Rohlfing Jan 10, 2013
Ruben Portugues Jan 10, 2013
Torsten Rohlfing Jan 10, 2013
Ruben Portugues Jan 10, 2013
Torsten Rohlfing Jan 10, 2013
Ruben Portugues Jan 10, 2013
Torsten Rohlfing Jan 10, 2013
Ruben Portugues Jan 10, 2013
Torsten Rohlfing Jan 10, 2013
Ruben Portugues Jan 11, 2013
Torsten Rohlfing Jan 11, 2013
Ruben Portugues Jan 11, 2013
Torsten Rohlfing Jan 11, 2013
Ruben Portugues Jan 11, 2013
Torsten Rohlfing Jan 11, 2013
Ruben Portugues Jan 12, 2013
Ruben Portugues Jan 8, 2013