glad to hear it
Bruce
On Mon, 29 Oct 2018, k3...@free.fr wrote:

       External Email - Use Caution

Hi Ruopen and Bruce,

indeed I fixed the transform multiplication and now I am able to get the good 
coordinates.
Thanks for your help!

Best,
Florent

----- Mail original -----
De: "Ruopeng Wang" <rpw...@nmr.mgh.harvard.edu>
À: freesurfer@nmr.mgh.harvard.edu
Envoyé: Vendredi 26 Octobre 2018 19:08:28
Objet: Re: [Freesurfer] Freeview coordinates




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

_______________________________________________
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