We're finding inconsistent results in defacing depending on the hardware and minor dependency version changes. In the image below, the red is:
- pydeface 2.0.2
- fsl 6.0.4
- python 3.10.4
- OS Ventura 13.2.1 on Intel Mac
...and the green is:
- pydeface 2.0.2
- fsl 6.0.5.1
- python 3.10.1
- OS debian:bullseye-slim (run in Docker with --platform=linux/x86_64 on an M1 Mac, fwiw)
The green is what we see with pydeface 2.0.0 and 2.0.2 on fsl 5 and 6 on a variety of python/debian version combinations; so far it's only the Mac that's different. Unfortunately, the green is also obviously not very well defaced. (The red has its own defacing problems, of course, just different ones.) The original nifti is a normalized PDw high-resolution scan targeting the locus coeruleus.
Does anyone have any thoughts as to why we're seeing different results on different hardware platforms?

We're finding inconsistent results in defacing depending on the hardware and minor dependency version changes. In the image below, the red is:
...and the green is:
The green is what we see with pydeface 2.0.0 and 2.0.2 on fsl 5 and 6 on a variety of python/debian version combinations; so far it's only the Mac that's different. Unfortunately, the green is also obviously not very well defaced. (The red has its own defacing problems, of course, just different ones.) The original nifti is a normalized PDw high-resolution scan targeting the locus coeruleus.
Does anyone have any thoughts as to why we're seeing different results on different hardware platforms?