How to define the mask for dwibiascorrect?

Hello All,
I’m having difficulties running dwibiascorrect. Please see below:

/usr/local/mrtrix3/mrtrix3/scripts/dwibiascorrect data.nii.gz dwibiascorr -mask /home//mz//600009963128/data/nodif_brain_mask.nii.gz
Unknown option: -mask

How should I define the mask?

Thank you!
Mahmoud

Hello Mahmoud,

I can’t reproduce your error message with the latest version of MRtrix. What version of MRtrix are you using?

Hello Max,

I could fix it.

Thanks,
Mahmoud