-
Notifications
You must be signed in to change notification settings - Fork 42
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
t2w scan defacing #20
Comments
|
Cool. I like the idea of the bids app alright. I'll have a go at that. |
Thanks!
Best,
Chris
…On Mon, Feb 26, 2018 at 10:40 AM, john lee ***@***.***> wrote:
Cool. I like the idea of the bids app alright. I'll have a go at that.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#20 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOkp0eRKrccfRXSXDtMpR4EYSOQMSIxks5tYvqXgaJpZM4STav2>
.
|
I have not got round to this yet. Still planning on it though. To extend this tool to other populations - pediatric, toddler, neurodegenerative disease patients - one may not have access to templates across multiple modalities in which case the apply_to_with_reg flag would be a useful plan B. Otherwise the code base would start filling up with templates... |
3 years later - is there an established way to do this in pydeface, or have people moved on to other tools, or what? |
It’s a two step process, and was not tidied up beyond that. @AdamT has worked with this more recently, any tips? |
@Arshitha and @ericearl were chatting about this today. In that conversation, I realized there are some very non-obvious and non-documented details about our pipeline that took me some head scratching to recall the rationale for. So I thought I'd document them here. Here's the command line calls from the notebook @Arshitha referenced above:
We did the fslmaths inverting and uninverting before and after pydeface to deal with a problem we encountered on scans with largish fields of view (FOV). When the facemask was transformed into the space of the input ToBeDefaced volume, voxels outside of the FOV of the original facemask volume showed up as 1's instead of zeros. This sometimes caused some non-face portions of the input ToBeDefaced volume to be masked out which caused problems in later processing. (I'll post some screenshot if/when I can find them) I'm curious if others have encountered this issue and if there are other approaches to address it. |
Hi I was wondering about the best way to get robust T2w defacing and thoughts on whether changing the code a bit would be desired.
Currently the best way seems to be to deface a T1w scan and then pass the result as a template for subsequent pydeface run for defacing a T2w scan. Alternatively one could register all scans to the T1w scans first and then use the --applyto option. My questions are:
a) Would it be worthwhile integrating this into a more convenient interface i.e. pass pydeface a T1w scan and a list of other scans. Pydeface would first deface the T1w and then use the result as a template for the subsequent scans. Effectively a --applyto_with_reg flag.
b) Would it be worthwhile to use something like epi_reg to make this more robust?
c) Can I submit a pull request documenting outlining the best way to deface these types of scans. My naive attempts had me just defacing T2w with the default template and hacking off large portions of the brain.
The text was updated successfully, but these errors were encountered: