Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improper defacing before reorient #41

Closed
pstetz opened this issue Aug 6, 2021 · 3 comments
Closed

Improper defacing before reorient #41

pstetz opened this issue Aug 6, 2021 · 3 comments

Comments

@pstetz
Copy link

pstetz commented Aug 6, 2021

Hello,

For some subjects we have, parts of the brain are cut off instead of the face (see below images). However, pydeface seems to work when the image is reoriented first

You should be able to reproduce this issue by doing

curl https://patrickstetz.com/pydeface/in.nii.gz --output in.nii.gz
singularity run --cleanenv -B ./:/tmp/0 docker://poldracklab/pydeface pydeface ./in.nii.gz

Input Image

in

After defacing

in_deface

Defacing after reorienting first

reorient_deface

Would be happy to help by submitting a PR for this!!

Best,
Patrick

@pstetz
Copy link
Author

pstetz commented Aug 6, 2021

Looks like this is already reported in #9

@ofgulban
Copy link
Collaborator

@pstetz , thanks for opening this issue 👍 . You are welcome to submit a pull request.

@effigies
Copy link
Contributor

#9 covers this. PRs still welcome.

@effigies effigies closed this as not planned Won't fix, can't repro, duplicate, stale Sep 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants