[MINC-users] xfm2param -scale option does not do anything
Mallar Chakravarty
mallar.chak at gmail.com
Wed Jul 3 17:56:31 EDT 2013
Hey Paul,
I suspect you don't mean to have a zero in the z-dimension (ie: you want to
keep that dim as is). If that's the case then try -scales 0.2 0.2 1. That
should output an acceptable .xfm file.
mallar
On Wed, Jul 3, 2013 at 5:49 PM, Paul GRAVEL <pgravel at bic.mni.mcgill.ca>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<http://www.bic.mni.mcgill.ca/mailman/listinfo/minc-users>
>
More information about the MINC-users
mailing list