Closed prasadvagdargi closed 2 years ago
Hi, I think this problem is related to an issue in the N4 binary itself (see this discussion).
I have (rarely) observed this problem when processing some high resolution images in the past. One workaround is resampling the images that cause problems to a coarser resolution, e.g. 1mm x 1mm x 1mm.
Hope this helps.
Thank you. I used MIPAV to resample the image to 0.9mm (and coarser resolutions) and it seems to work for those cases as a workaround.
Dear Christian Ledig,
The N4 bias correction fails and exits in a few cases where the skull extends beyond the image and is truncated, causing a missing correction file and failed segmentation. The exception reported by ITK is due to an invalid requested region as listed in the log file below. Note that this is different from #7 where the output directory is entirely missing. Here, the bias correction pipeline exits abruptly, causing a missing file.
The image is MPRAGE sagittal sequence of dimensions 512x512x208 with 0.4297 x 0.4297 x 0.9000 mm voxel size. Any suggestions on how to proceed would be appreciated.
N4 Correction Log file: