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 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


--- Bruce Fischl <[EMAIL PROTECTED]> wrote:

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: transform fs format back to original file
format)
when I run the commands you suggested:
mri_convert -rl orig/001.mgz brainmask.mgz
brainmask_transformed.mgz
the backtransformed image is in the original
coordinate boundaries, but it is not a the same
position as the original data (see attached
example).

Frederick

--- Bruce Fischl <[EMAIL PROTECTED]>
wrote:

if your orig volume is in orig/001.mgz, then you
can
do:

mri_convert -rl orig/001.mgz brainmask.mgz
brainmask_transformed.mgz

cheers,
Bruce

On Thu, 31 Aug
2006, tulu wrote:


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam
protection around
http://mail.yahoo.com



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com



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

Reply via email to