nipreps / mriqc

Automated Quality Control and visual reports for Quality Assessment of structural (T1w, T2w) and functional MRI of the brain
http://mriqc.readthedocs.io
Apache License 2.0
299 stars 132 forks source link

ENH(dMRI): Deal gracefully with small CC masks #1311

Closed oesteban closed 3 months ago

oesteban commented 3 months ago

The diffusion pipeline's calculation of IQMs choked if the cc mask was too small. Added a counter-measure and issue a warning in this case.

arokem commented 3 months ago

Do you have an example dataset where this happened? Maybe in these cases we could do a second pass with a different set of parameters?

oesteban commented 3 months ago

Yes, I have a dataset with a failed DWI run that lasted for just a few initial directions and then was killed. I believe we discussed spatial normalization into MNI -- we could bring the mask from there instead, WDYT?

arokem commented 3 months ago

I think that's a good idea! In that case, I might check for outliers in terms of the PDD/FA and exclude those.