[MINC-users] xfm2param

Andrew Janke a.janke at gmail.com
Mon Jun 7 07:38:01 EDT 2010


Hi Francois,

This behaviour is considered normal as the xfm you have passed in
cannot be resolved as a set of rotations less than 90 degrees.
xfm2param can only handle such matrix decompositions and thus spat the
error.

--
Andrew Janke
(a.janke at gmail.com || http://a.janke.googlepages.com/)
Canberra->Australia    +61 (402) 700 883


On Sat, Jun 5, 2010 at 07:29, francois hebert
<francois.hebert007 at gmail.com> wrote:
> Hi All,
>
> I met a problem with xfm2param.
> I had this transformation
>
> Transform_Type = Linear;
> Linear_Transform =
>  -0.999861 -0.01228965 -0.01125913 0
>  0.01405692 -0.9847437 -0.1734425 0
>  -0.008955808 -0.1735767 0.9847796 0;
>
> when I give this transformation to xfm2param I had this answer:
>
> WARNING: (rotmat_to_ang.c:187) step one: rz not in the range -pi/2..pi/2
> Cannot convert R to radians!  -0.999861   -0.012290   -0.011259
>   0.014057   -0.984744   -0.173442
>  -0.008956   -0.173577    0.984780
> 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
>
> Where the problem is coming from?
>
> Thanks,
>
> Francois
> _______________________________________________
> 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