I have a problem with segmenting several T2’s.
During the bias correction step, it seems that the header information of the brainmask and the rescaled T2 differ and therefore the pipeline stops running after creation of the brainmask.
This is the log:
Description: itk::ERROR: N4BiasFieldCorrectionImageFilter(0x55b1631eb6b0): Inputs do not occupy the same physical space!
InputImage Origin: [-8.6477035e+01, 6.7219341e+01, -6.4898184e+01], InputImage_1 Origin: [-8.6476832e+01, 6.7219339e+01, -6.4898203e+01]
Tolerance: 7.0312500e-07
InputImage Spacing: [7.0312500e-01, 7.0312500e-01, 4.0000005e+00], InputImage_1 Spacing: [7.0312399e-01, 7.0312399e-01, 4.0000000e+00]
Tolerance: 7.0312500e-07
I don’t have this problem with the majority of my scans, and they are all processed the same. The quality of the T2 scans that give this error is fairly well so that does not seem to be the problem.
Manually changing the header information did not solve this issue.
Does anyone have a solution to this problem?
Should I try running the bias correction step without the brain mask or does that give too much variance in my results?
Thanks in advance!