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!