REST slice viewer

各位老师您好:
       Rest 1.8 matlab2013b windows7 64bit 是我的电脑环境。
       打开rest工具箱,在viewer功能中进行tal和MNI坐标系转换,比如坐标tal[-41,-65,37],转换MNI后[-46,-64,42],但是直接用rest_tal2icbm_spm函数转换,结果却是不一样的。请问这是什么情况?
谢谢

Please check the following codes behind the GUI, I guess you are using the raw Ordinate instead of the delta:

http://restfmri.net/pub/rest_20090422/doc/rest_20090422/rest_sliceviewer.html
 2052 function Transforming_MNI_Talairach(AConfig)

2053     isNeedUpdate =false;
2054     switch get(AConfig.hMniTal, 'Value'),
2055     case 1,    %'MNI/Talairach Coordinates'
2056         %Do nothing
2057     case 2, %'From Talairach to MNI'
2058         % AConfig.LastPosition
2059         thePosition =round(rest_tal2mni(AConfig.LastPosition -AConfig.Origin) +AConfig.Origin);
2060         AConfig =UpdatePosition(AConfig, thePosition);
2061         isNeedUpdate =true;
2062     case 3, %'From MNI to Talairach'
2063         % AConfig.LastPosition
2064         thePosition=round(rest_mni2tal(AConfig.LastPosition -AConfig.Origin) +AConfig.Origin);
2065         AConfig =UpdatePosition(AConfig, thePosition);
2066         isNeedUpdate =true;
2067     otherwise
2068     end