Combine labels

Dear all,

I’m performing fixel-based analysis, and to better interpret the results, I would like to parcellate my template. I was thinking that maybe there is a way to propagate all the labels from my subjects and combine it in the template space. I believe that due to the nature of the images, maybe the best approach to do this is majority voting. Is there any command in MRtrix able to do that? Thanks in advance.

Best regards,

Manuel

Sorry, nothing I can think of off the top of my head… It might be a useful addition to mrmath though, I agree. Might be worth adding as a feature request on the issue tracker…?

Hi @jdtournier,

Thanks for your answer, I agree could be a nice feature for mrmath. In the meantime I’ve been looking for a solution and I found that this command already exists in ANTs (I assume almost everybody using MRtrix will have ANTs installed), the command line is the following, just in case other people are interested:

ImageMath 3 Final_labels.nii.gz MajorityVoting Label_atlas{i}.nii.gz

Best regards,

Manuel

1 Like