Hello,This is not the optimal way, I guess. Affine tfm should be enough and by using FLIRT's epi_reg you should be able to register the B0 to the FAST segmented T1 structural image quite precisely:Otherwise if you really need nonlinear deformation, register the FA and T1 separately to the FMRIB58 and MNI152 templates, and from that space, you can transform ROIs back to either diffusion or native space. Transformation matrices and fields can be inverted as well.Hope this helps.Regards,AndrásDr. Andras Jakab, MD, PhDPost Doctoral Researcher / University Assistant Lecturer
Department of BioMedical Laboratory and Imaging Science
Faculty of Medicine, University of Debrecen
98. Nagyerdei Krt.
4032 Debrecen
Hungary
Phone: +3652255170Cellular: +36305095083On Fri, May 17, 2013 at 4:36 PM, lujiao luo <[log in to unmask]> wrote:Hello experts,I was trying to warp a native space roi file into diffusion space (register with nodif_brain). I've tried several ways, but I couldn't obtain fine results. Is their someone would like to share this experience with me.The command I used:flirt -in t1.nii.gz -ref nodif_brain.nii.gz -out t1_to_nodif_trilinear.nii.gz -omat t1_to_nodif.mat -bins 256 -cost corratio -dof 12
fnirt --ref=nodif_brain --in=t1.nii.gz --refmask=nodif_brain_mask.nii.gz --iout=t1_to_nodif_fnirt.nii.gz --aff=t1_to_nodif_trilinear.mat –cout=t1_to_nodif_fnirt_cout
and then apply matrix file t1_to_nodif.mat to my roi file which was segmented from the T1.nii.gz file.
I would be grateful for any help.