Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Different results using mrtrix pre-processed data vs DSI studio pre-processed data

80 views
Skip to first unread message

Maria Ana

unread,
Nov 12, 2024, 10:49:28 AM11/12/24
to DSI Studio
Hello all,

I have recently started using DSI studio to apply differential tractography (using QSDR for reconstruction) to some multi-shell diffusion data of multiple sclerosis patients. I have pre-processed the raw diffusion images using DSI studio, and then computed differential tractography between baseline and follow-up, but no tracts were selected. I also tried using the already pre-processed diffusion data from Mrtrix, which yielded some tracts in differential tractography for the same patient (I later realised that the bvec used in construction of SRC file along with the pre-processed diffusion file was not updaded after pre-processing in mrtrix, and I wonder if this is why there is a difference between methods). Is there any reason as to why these results should be different? Also, shouldn't differential tractography show something for multiple sclerosis patients (considering I do the pre-processing steps using DSI studio)?

Thank you!

PS: mrtrix pre-processing steps are as follows: denoising, removal of Gibb's artifact, concatenation of AP and PA images, topup and eddy, bias field correction

Frank Yeh

unread,
Nov 12, 2024, 10:54:12 AM11/12/24
to maria.a...@gmail.com, DSI Studio
The results may not be the same, but should be consistent if the
effect size is large enough.
Did you follow the steps in the tutorial videos at
https://practicum.labsolver.org/ ?

Maria Ana

unread,
Nov 12, 2024, 11:36:01 AM11/12/24
to DSI Studio
Thanks for your response.

Yes, I did. I've repeated the differential tractography step now, just to make sure. And now I get results using the pre-processed images in DSI studio (and not using the ones from mrtrix). Also, I now get results in another patient where no tracts appeared before when using differential tractography with dsi studio-processed images. I'm not sure what's the problem, as I've done now what I did before and the results are different. I might have done something wrong before without realising it.

But still, mrtrix and dsi studio results are different, now with tracts only appearing for dsi studio-processed images. Do you think this could be because of mrtrix pre-processing steps? I read somewhere that the bvec file should be updated after pre-processing to be able to construct the SRC files if I already have the pre-processed images. The bvec file I use is never updated and thus I am constructing a SRC file with the image processed with mrtrix + the raw bvec file. Could this be hindering results in any way? 

Frank Yeh

unread,
Nov 12, 2024, 11:38:36 AM11/12/24
to maria.a...@gmail.com, DSI Studio
There could be numerous possible causes.
If you have a sample dataset that you are really sure there is a
neuronal change, I can process on my side to show you my results as a
comparison.

Maria Ana

unread,
Nov 12, 2024, 1:47:43 PM11/12/24
to DSI Studio
This is an exploratory analysis so I don't know if there should be any neuronal change or not, even though I would suspect some change (it's ten months between baseline and follow-up, and these are early multiple sclerosis patients without medication at baseline). If you could give me an e-mail, I could send you the raw and mrtrix-preprocessed files, if you think that could help. Thank you!

Frank Yeh

unread,
Nov 12, 2024, 1:49:00 PM11/12/24
to maria.a...@gmail.com, DSI Studio
DSI Studio website has a data upload link on the left. It is private
and only send the data to me.
Frank
> --
> You received this message because you are subscribed to the Google Groups "DSI Studio" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to dsi-studio+...@googlegroups.com.
> To view this discussion visit https://groups.google.com/d/msgid/dsi-studio/2af144c3-3c95-43a2-a86d-07b209c658ebn%40googlegroups.com.

Maria Ana

unread,
Nov 13, 2024, 6:57:03 AM11/13/24
to DSI Studio
I've just uploaded the files. Thank you so much for your help

Frank Yeh

unread,
Nov 14, 2024, 2:54:46 PM11/14/24
to maria.a...@gmail.com, DSI Studio
I checked the data. DTI FA shows no obvious differences. But QA has differences that could be mapped using (m1-m2)/m1 with 1,000,000 seeds:
image.png

There is a bug in the current version using the the undivided metrics m1-m2. It will be fixed today.


Maria Ana

unread,
Nov 15, 2024, 7:21:18 AM11/15/24
to DSI Studio
Sorry, I don't think I understood: so there are no differences between timepoints using DTI FA (i.e. in differential tractography) using either DSI or mrtrix-preprocessed data?

Also, is it feasible to estimate QA using multi-shell data? I was under the impression that QA should be estimated using grid sampling and not multi-shell. Sorry to keep bothering you, I'm just a little confused.

Frank Yeh

unread,
Nov 15, 2024, 7:24:50 AM11/15/24
to maria.a...@gmail.com, DSI Studio

Sorry, I don't think I understood: so there are no differences between timepoints using DTI FA (i.e. in differential tractography) using either DSI or mrtrix-preprocessed data?

Yes


Also, is it feasible to estimate QA using multi-shell data? I was under the impression that QA should be estimated using grid sampling and not multi-shell. Sorry to keep bothering you, I'm just a little confused.

GA can be estimated from single shell, multiple shell and grid.

Maria Ana

unread,
Nov 28, 2024, 5:49:41 AM11/28/24
to Frank Yeh, DSI Studio

Sorry for taking so long to get back to you. Thank you so much for all your help. Just one last question, do you have any references about QA being estimated with shell sampling protocols? Just so I can be more informed about this.

Frank Yeh

unread,
Nov 28, 2024, 5:51:10 AM11/28/24
to Maria Ana, DSI Studio
Yeh FC et. al. IEEE TMI 2010

Maria Ana

unread,
Dec 16, 2024, 5:24:09 PM12/16/24
to DSI Studio
Hi again,

Sorry, I have tried to replicate the result you showed me, but I can't seem to do it. Could you tell me what were the parameters you used? I used all default parameters with a threshold metrics1>metrics2 of 0.1 and the threshold type (m1-m2)/m1. The results from images pre-processed in DSI and in mrtrix are also different, when I think they shouldn't be?

Thank you for any help!

Frank Yeh

unread,
Dec 16, 2024, 5:30:30 PM12/16/24
to maria.an...@gmail.com, DSI Studio
The results won't be the same as mrtrix.

For details, you may check out tutorial videos at practicum.labsolver.org

Best
Frank


Frank Yeh

unread,
Dec 20, 2024, 8:20:56 PM12/20/24
to Maria Ana, maria.an...@gmail.com, DSI Studio
Sorry for all the trouble. I will do my best to troubleshoot.

Let work out the crash first.
Are you using the Windows version?

Could you send me the .src.gz or .sz files that you used in Step T2 again? (I don't keep a copy of users data)

Hope to get this issue fixed asap.

Best
Frank


Hi again,

Sorry for being insistent. But I've watched the workshop video twice now, and I've used the same parameters as the ones used there. I still don't achieve the same results as you. This is what I get (using a threshold of 0.1 with QA and contrast (m1-m2)/m1, as well as 1 million seeds and I pre-process images using just DSI studio with all the recommended steps):


Also, I can't seem to use the most recent version of DSI studio, as it crashes anytime I try to do the GQI reconstruction, and anytime I try to upload a slice for differential tractography. 

Thank you.
Maria

You received this message because you are subscribed to a topic in the Google Groups "DSI Studio" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dsi-studio/4ZcvM7uIN3o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dsi-studio+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dsi-studio/CAG_Qrt%2BJ2t6EZvC%3Dz2iV%2B10qZkgT7yG--yh0BGdgGMyHra%3D56A%40mail.gmail.com.

Maria Ana

unread,
Dec 20, 2024, 8:21:20 PM12/20/24
to fran...@gmail.com, maria.an...@gmail.com, DSI Studio
Hi again,

Sorry for being insistent. But I've watched the workshop video twice now, and I've used the same parameters as the ones used there. I still don't achieve the same results as you. This is what I get (using a threshold of 0.1 with QA and contrast (m1-m2)/m1, as well as 1 million seeds and I pre-process images using just DSI studio with all the recommended steps):
image.png

Also, I can't seem to use the most recent version of DSI studio, as it crashes anytime I try to do the GQI reconstruction, and anytime I try to upload a slice for differential tractography. 

Thank you.
Maria
Frank Yeh <fran...@gmail.com> escreveu (segunda, 16/12/2024 à(s) 22:30):
You received this message because you are subscribed to a topic in the Google Groups "DSI Studio" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/dsi-studio/4ZcvM7uIN3o/unsubscribe.
To unsubscribe from this group and all its topics, send an email to dsi-studio+...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/dsi-studio/CAG_Qrt%2BJ2t6EZvC%3Dz2iV%2B10qZkgT7yG--yh0BGdgGMyHra%3D56A%40mail.gmail.com.

Maria Ana

unread,
Dec 22, 2024, 6:55:55 PM12/22/24
to Frank Yeh, maria.an...@gmail.com, DSI Studio
Thank you.

Yes, I'm using the windows "Chen" version ("Hou" is the one that crashes). I'll upload the files. 
Thanks again

Frank Yeh

unread,
Dec 22, 2024, 6:57:25 PM12/22/24
to Maria Ana, maria.an...@gmail.com, DSI Studio
Sorry about the bug.

Could you let me know the exact steps that induced the crashed on the new version?

Maria Ana

unread,
Dec 26, 2024, 12:12:27 PM12/26/24
to Frank Yeh, maria.an...@gmail.com, DSI Studio
If I do GQI reconstruction, it crashes when I try to load a slice in step T3 to do differential tractography.

Frank Yeh

unread,
Dec 26, 2024, 12:12:52 PM12/26/24
to Maria Ana, maria.an...@gmail.com, DSI Studio
Could you upload the .fz or fib.gz file you created from GQI reconstruction and also the slice you loaded?
Once I reproduce the crash, I will have a good chance of finding the bug and fix it.

Best regards,
Frank



Maria Ana

unread,
Dec 27, 2024, 8:09:16 PM12/27/24
to Frank Yeh, maria.an...@gmail.com, DSI Studio
Yes, I just uploaded the files. The fz file for the baseline scan and the QA slice from follow-up.

Frank Yeh

unread,
Dec 27, 2024, 9:07:23 PM12/27/24
to Maria Ana, maria.an...@gmail.com, DSI Studio
I tested on my side. I can successfully load the slice with the fz file.

Did you use the GPU version? If yes, could you try the CPU version?

If the CPU version works, then it is likely the CUDA toolkit is not installed or you do not have an NVIDIA graphic card. You may need to install CUDA toolkit or use the CPU version.

Best
Frank

Maria Ana

unread,
Dec 30, 2024, 8:24:29 AM12/30/24
to Frank Yeh, maria.an...@gmail.com, DSI Studio
Yes, I was using the GPU version. I'll try the CPU version, thanks.

Also, what about getting different results from the ones you showed me here? Why do you think that happened? I used the default parameters and the ones from the workshop.

Frank Yeh

unread,
Jan 3, 2025, 12:21:51 AMJan 3
to Maria Ana, maria.an...@gmail.com, DSI Studio
Sorry for the delayed reply.



Also, what about getting different results from the ones you showed me here?

The results should be consistent, and may not be identical.

Why do you think that happened?

If the effect size is small, then you may get inconsistent result. To confirm, we always compute FDR to see if the finding is reliable.

I used the default parameters and the ones from the workshop.

The SCA dataset has good effect size and should give very similar results.

If you get a very different results, please let me know the steps. Once I can reproduce the error, I will fix it right away.

Thanks again for reporting the issues, and hope we can help here.

Best
Frank
Reply all
Reply to author
Forward
0 new messages