Why not just do it in one step? If you have the registration from dti
space to FS anatomical space, the just run mri_label2vol to bring aseg
into the dti space.
doug
> _______________________________________________
On 02/02/2014 05:24 AM, Garikoitz Lerma-Usabiaga wrote:
> Hi Doug,
> I've been reading the list and I ended with 4 steps to move from a
> label to a mask in diffusion space (below). Is this correct? Is there
> any other more straightforward way? It should end with a binary mask
> in diffusion space (I am using the anatorig2diff.bbr.dat created in
> the Tracula process).
>
> tkregister2 --mov mri/rawavg.mgz --targ mri/aseg.mgz --regheader --reg
> mri/rawreg.dat --noedit
>
> Create volume (it does it in LPS ):
> mri_label2vol --label label/lh.th13labels-001.label --temp
> mri/rawavg.mgz --reg mri/rawreg.dat --fillthresh .5 --o
> mri/fromlabel_lh.th13labels-001.nii
>
> Move volume to anatorig (LIA) :
> mri_vol2vol --mov mri/fromlabel_lh.th13labels-001.nii --targ
> /mri/brainmask.mgz --regheader --o mri/anatorig_lh.th13labels-001.nii
> --no-save-reg
>
> Move to diffusion space (LAS):
> mri_vol2vol --mov dmri/dtifit_FA.nii.gz --targ
> /mri/anatorig_lh.th13labels-001.nii --inv --interp nearest --o
> mri/diff_fromlabel_lh.th13labels-001.nii --reg
> dmri/xfms/anatorig2diff.bbr.dat --no-save-reg
>
>
>
> thanks!
> Gari
>
>
>
>
> Freesurfer mailing list
> Freesurfer@nmr.mgh.harvard.edu
> https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
--
Douglas N. Greve, Ph.D.
MGH-NMR Center
greve@nmr.mgh.harvard.edu
Phone Number: 617-724-2358
Fax: 617-726-7422
Bugs: surfer.nmr.mgh.harvard.edu/fswiki/BugReporting
FileDrop: https://gate.nmr.mgh.harvard.edu/filedrop2
www.nmr.mgh.harvard.edu/facility/filedrop/index.html
Outgoing: ftp://surfer.nmr.mgh.harvard.edu/transfer/outgoing/flat/greve/
_______________________________________________
Freesurfer mailing list
Freesurfer@nmr.mgh.harvard.edu
https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
The information in this e-mail is intended only for the person to whom it is
addressed. If you believe this e-mail was sent to you in error and the e-mail
contains patient information, please contact the Partners Compliance HelpLine at
http://www.partners.org/complianceline . If the e-mail was sent to you in error
but does not contain patient information, please contact the sender and properly
dispose of the e-mail.