[MINC-users] xfmavg and lsq6 transforms
Vladimir S. FONOV
vladimir.fonov at gmail.com
Thu Feb 11 11:33:13 EST 2016
Maybe it would be easier if you would make all xfms available...
On 16-02-11 10:55 AM, Gabriel A. Devenyi wrote:
> Sure, easiest to expose with xfm2param:
>
> #One of 32 transforms
>> xfm2param input1.xfm
> after parameter extraction
> -center 0.00000 0.00000 0.00000
> -translation 0.70513 0.30790 0.66079
> -rotation -87.58608 4.54388 2.03792
> -scale 1.00000 1.00000 1.00000
> -shear -0.00000 -0.00000 0.00000
>
> #Transforms have rotations in range 83-92 -6-7 -2 4
>> xfmavg *.xfm average.xfm
>> xfm2param average.xfm
> after parameter extraction
> -center 0.00000 0.00000 0.00000
> -translation 0.38288 0.50712 0.52295
> -rotation -0.04862 0.66666 -0.63100
> -scale 1.00000 1.00000 1.00000
> -shear -0.00000 -0.00000 0.00000
>
> #Rotations have been completely lost
>
> I just realized this may be due to the values since they’re near -90, could
> this be a problem?
>
>
--
Best regards,
Vladimir S. FONOV ~ vladimir.fonov <at> gmail.com
More information about the MINC-users
mailing list