[Neuroimaging] Dipy Error in ROI Streamlines and Tracking
Jacob Antony
antony at usc.edu
Tue Jul 12 18:21:07 EDT 2016
Hello,
I am having issues with reading a trackvis file into the pipeline for ROI
filtering: http://nipy.org/dipy/examples_built/streamline_tools.html
I have checked the affine of the .trk file's header and it is [0 0 0 0; 0 0
0 0; 0 0 0 0; 0 0 0 1]
However the .trk file and my DTI image have been registered together so
they should have the same affine. Ultimately this leads to an error when I
attempt to run utils.target
ValueError: streamlines points are outside of target_mask
This occurs when the include parameter is set to either true or false.
What could be the issue? I have included a google drive with the T1 image,
tractography file, corpus callosum mask, and the script I am using.
https://drive.google.com/folderview?id=0B02Ea96nn-Igb0dYbU5QazRoMEE&usp=sharing
Please let me know if you have an idea of what could be causing the error.
Thank you all!
Best,
Jacob Antony
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/neuroimaging/attachments/20160712/6398b588/attachment.html>
More information about the Neuroimaging
mailing list