Hi every one,
this is my first post, so wish me luck
I have a problem with the TDI and I want to ask for your help. I created a TDI that includes streamlines from a certain ROI(in the below example is lh_po). The commands were
First I created the streamlines using
tckedit tracks_10M.tck lh_po.tck -include lh_po.mif -minlength 25
Then I made the TDI using
tckmap lh_po.tck -contrast tdi -template raw_t1.mif lh_po_tdi_ep.nii.gz -ends_only
Now I have an image that shows endpoints within the ROI and outside the ROI representing both sides of termination points.
What I want is to create a TDI showing only the endpoints outside the ROI and remove the ones within the ROI. Is there a way to do that through mrtrix commands?