Open noah10 opened 1 year ago
Hi @noah10 ,
pydeface is basically a wrapper for fsl flirt registration program. See lines: https://github.com/poldracklab/pydeface/blob/69a17a6817634d78c12aea955f981d48890bac96/pydeface/utils.py#L90-L112
Therefore, I suspect that the difference you are seeing is related to fsl version differences and its dependencies.
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?