Trying to use the N4BiasFieldCorrection() method to fix the intensity inhomogeneity in Dixon MRI scans. I have used the function with success just passing the image as the only argument, such as below:
This was successful but I am trying to run it with my own mask to improve results. Passing the following command has not yielded any success:
The trouble I have with that method is obtaining an .nrrd file. Additionally, I’m not sure what their mask looks like in that example. Is it the green mask titled ‘Default Mask Image?’ If so, is it important that our mask is green instead of another color?