[MINC-users] xfm2param -scale option does not do anything

Paul GRAVEL pgravel at bic.mni.mcgill.ca
Wed Jul 3 18:05:33 EDT 2013


Thanks Mallar and Vladimir!

Indeed it does work! I guess my head is stuck somewhere it shouldn't be 
;-)!
Apologies to all for swamping your email accounts with such questions...

Best,

Paul


On Wed, 3 Jul 2013, Vladimir S. FONOV wrote:

> Hello,
>
> indeed.... param2xfm -scale 0.2 0.2 0.00001 test_scale_2D.xfm works though
>
> it might have something to do with the fact that affine transformation with 
> scaling of zero is not invertible.
>
> On 13-07-03 05:49 PM, Paul GRAVEL wrote:
>> Dear All,
>> 
>> There is probably a reason for that, but I want to create an xfm file
>> with scaling parameters, but it does not seem to work, i.e. the scale
>> parameters don't appear and I only get the identity transformation
>> matrix as seen below.
>> 
>> Any enlightenment would be appreciated!
>> 
>> Best,
>> 
>> Paul
>> ________________________________________________
>> This is what I did and obtained:
>> 
>> % param2xfm -scales 0.2 0.2 0 test_scale_2D.xfm
>> 
>> % xfm2param test_scale_2D.xfm
>> after parameter extraction
>> -center         0.00000    0.00000    0.00000
>> -translation    0.00000    0.00000    0.00000
>> -rotation       0.00000    0.00000    0.00000
>> -scale          1.00000    1.00000    1.00000
>> -shear          0.00000    0.00000    0.00000
>> 
>> % cat test_scale_2D.xfm
>> MNI Transform File
>> %Wed Jul  3 17:46:00 2013>>> param2xfm -scales 0.2 0.2 0 test_scale_2D.xfm
>> %(Package mni_autoreg 0.99.3, compiled by rotor at gack (i686-pc-cygwin) on
>> Fri Nov  3 00:19:37 EST 2006)
>> 
>> Transform_Type = Linear;
>> Linear_Transform =
>>   1 0 0 0
>>   0 1 0 0
>>   0 0 1 0;
>> 
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> MINC-users at bic.mni.mcgill.ca
>> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>
>
> -- 
> Best regards,
>
> Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com
> _______________________________________________
> MINC-users at bic.mni.mcgill.ca
> http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users
>


More information about the MINC-users mailing list