brain_extraction_wf.inu_n4_final
can be affected by extreme values
#928
Labels
brain_extraction_wf.inu_n4_final
can be affected by extreme values
#928
What happened?
I've been debugging an Atropos crash that occurs for
brain_extraction_wf
in niworkflows 1.3.x (LTS) and 1.12.x (dev) but does not occur forantsBrainExtraction.sh
in ANTs 2.3.4 (LTS) or 2.5.4 (latest).Walking through step-by-step, here are the abbreviated inputs to Atropos:
antsBrainExtraction.sh
:brain_extraction_wf
:There is no equivalent to
inu_n4_final
in theantsBrainExtraction.sh
workflow, so that seemed to be the most likely culprit. Re-running with verbose:If I switch the
inu_n4_final
image forinu_n4
in the same shell command, the run succeeds. By taking the difference of the original image and the truncated image, and using the mask passed to atropos, we can see that an extreme value lies just inside the mask:None of the extreme values occur inside brain tissue, so it does not seem problematic to pass the truncated image to
inu_n4_final
, like:I will make this minimal patch updating the input image to
inu_n4_final
. If that resolves the issue I will propose it to the LTS branch and the dev branch.What command did you use?
What version of the software are you running?
LTS and latest
How are you running this software?
Docker
Is your data BIDS valid?
Yes
Are you reusing any previously computed results?
No
Please copy and paste any relevant log output.
Additional information / screenshots
No response
The text was updated successfully, but these errors were encountered: