Thanks Bruce.
Okay will convert them from scanner RAS to surface RAS;
last question: I looked at the control points made from tkmedit;
it seems like you round of the co-ordinates to integers and then save them as floats;
Does the co-ordinate information saved in control.dat need to be rounded
or is it okay to save floats in control.dat; ?
I also noticed the following difference between tkmedit and freeview;
if I make and save control points in tkmedit it says "useRealRAS 0"
while if i make and save control points in freeview it says "useRealRAS 1" (here the co-ordinate info is not rounded off). Not sure if this could affect the workflow but just wanted to let you know;
Thanks
Mehul
ps: In case, anyone needs to convert from scanner RAS to surface RAS; this is how I am doing it in Matlab:
1. First read the vox2ras0 from MRIread and compute it's inverse.
2. Then do a matrix multiplication to get surface RAS. that is:
surface RAS = inv(vox2ras0) * scanner RAS;
Mehul