[MINC-users] xfmavg and lsq6 transforms
Gabriel A. Devenyi
gdevenyi at gmail.com
Thu Feb 11 11:40:43 EST 2016
https://www.dropbox.com/s/vk9zzile5ox7pu4/transforms.tar.bz2?dl=0
--
Gabriel A. Devenyi B.Eng. Ph.D.
Research Computing Associate
Computational Brain Anatomy Laboratory
Cerebral Imaging Center
Douglas Mental Health University Institute
McGill University
t: 514.761.6131x4781
e: gdevenyi at gmail.com
On Thu, Feb 11, 2016 at 11:33 AM, Vladimir S. FONOV <
vladimir.fonov at gmail.com> wrote:
> 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
> _______________________________________________
> 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