I am trying to filter streamlines created in dipy with mrtrix’s SIFT. I am having immense troubles however.
I am able to filter mrtrix-made streamlines with dipy’s LiFE. I am able to filter dipy with dipy, and mrtrix with mrtrix, but when trying to filter dipy-made streamlines with mrtrix’s SIFT, I am finding that essentially either there is nothing being filtered, or whole hemisphere is effectively filtered out.
This I believe is an issue with MRTrix not bringing the dipy .tck file to voxel space.
I looked at the metadata of dipy-.tck and mrtrix-.tck files, they are identical. Further, when plotting these unfiltered streamlines over dwi images, for the streamlines to be correctly plotted, both streamlines (dipy and mrtrix) have to be brought to voxel space with .to_vox().
Both streamlines are saved in RASMM space. I tried saving the dipy streamline in voxel space, this didn’t work. Any ideas / thoughts would be incredibly helpful.
I am using DIPY FODs. Should i create them with the tournier07 basis? What would the necessary tweaking look like? The cost function is -nan%, which makes me think this is an issue of spaces.
You will be able to convert your FOD from DIPY to mrtrix in the future DIPY release (1.9.0) via a function or command line. it should appear this week or next week.
I ended up creating my FOD’s in dipy with the tournier07 basis function, which according to dipy docs matches the current mrtrix basis implementation. This should be sufficient, yes? I know obviously that this doesn’t work for already created FODs.
Also, will creating the fods with this basis (tournier07 via dipy) mess up LiFE implementation?