Hi Everyone !
I am once again asking for help on some issue:
I am trying to use dwibiascorrect ants
on my diffusion data (Rodent data, 15 directions, single-shell) before generating FODs and tractographies.
But when I run the following command everything works and then suddenly, be it my terminal or Spyder, everything slow down and crash : dwibiascorrect ants dwi_den_unr.mif dwi_den_unr_biasants.mif -bias biasANTS.mif -mask externalmask.mif
.
This is what I can gather in the temp folder :
-the command :
/home/APPs/mrtrix3/bin/dwibiascorrect ants dwi_den_unr.mif dwi_den_unr_biasants.mif -bias biasANTS.mif -mask externalmask.mif
-the cwd :
/home/Arno/Tractographies/20250325_162416_MRtrix-output_Tractography/Sample-1
-the log :
mrconvert /home/Arno/Tractographies/20250325_162416_MRtrix-output_Tractography/Sample-1/dwi_den_unr.mif
/home/Arno/Tractographies/20250325_162416_MRtrix-output_Tractography/Sample-1/dwibiascorrect-tmp-KTFD8Y/in.mif
mrconvert /home/Arno/Tractographies/20250325_162416_MRtrix-output_Tractography/Sample-1/externalmask.mif
/home/Arno/Tractographies/20250325_162416_MRtrix-output_Tractography/Sample-1/dwibiascorrect-tmp-KTFD8Y/mask.mif -datatype bit
dwiextract in.mif - -bzero | mrmath - mean mean_bzero.mif -axis 3
mrconvert mean_bzero.mif mean_bzero.nii -strides +1,+2,+3
mrconvert mask.mif mask.nii -strides +1,+2,+3
-And I indeed have in.mif, mask.mif, mask.nii, mean_bzero.mif and mean_bzero.nii but nothing moreβ¦
βI donβt think it is related to ANTS not being installed at least because I can use N4BiasFieldCorrection and which N4BiasFieldCorrection
returns me :
/home/APPs/ants/bin/N4BiasFieldCorrection
I would be very thankful if anyone has an idea how and why dwibiascorrect ants kills the terminal/Spyder during the process !
Best Regards,
Arno ROSSEZ.