Re: [Freesurfer] transform back to original coordinates ?

2006-09-02 Thread Bruce Fischl
p.s. how are you visualizing it? This works fine for me: mri_convert -rl rawavg.mgz brainmask.mgz brainmask_xformed.mgz tkmedit -f rawavg.mgz -aux brainmask_xformed.mgz then use alt-c to switch back and forth Bruce On Fri, 1 Sep 2006, Frederick Klauschen wrote: Hi Bruce, (aim: trans

Re: [Freesurfer] transform back to original coordinates ?

2006-09-02 Thread Frederick Klauschen
Hi Bruce, visualizing with tkmedit works fine for me as well, but when I am loading the backtransformed file brainmask_xformed.mgz with Matlab or plain C I still get the shifted image. Doing the same with the original (pre-FS) image works fine (no coordinate shift). Thanks, Frederick --- Bruc

Re: [Freesurfer] transform back to original coordinates ?

2006-09-02 Thread Bruce Fischl
hmm, that should put them into the same voxel coords I thought. You can always use the vox2ras given by mri_info to go from one voxel coords to the other. Bruce On Sat, 2 Sep 2006, Frederick Klauschen wrote: Hi Bruce, visualizing with tkmedit works fine for me as well, but when I am loading