Hi Florent,

I'm not sure how you got -152, 73, -66. If you apply the matrix to (152, 66, 73, 1), you should get

-24, -55, 62

Which matches what is shown in freeview.

Best,
Ruopeng


On 10/26/2018 12:06 PM, k3...@free.fr wrote:

        External Email - Use Caution

Hi Bruce,

Thanks for the tip.
When I run the command on 'lh.white' surface for example, I don't get an affine transform but a simpler one:

vox2ras-tk:
-1  0 0  128
 0  0 1 -128
 0 -1 0  128
 0  0 0  1

So when I apply this transform to a pixel position (152, 66, 73) here is the result I get:
-152, 73, -66

But the expected result provided in Freeview as TkRegRAS T1 is:
-23.61, -55.02, 61.25

Which obviously involving an affine transform.

Did I miss something?
Thanks

Cheers,
Florent



_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer

Reply via email to