-
Notifications
You must be signed in to change notification settings - Fork 301
[RTM] ENH: Nonlinear warp-based susceptibility distortion correct #544
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
Conversation
d640447
to
719ac30
Compare
For the distortion atlas, the authors provide an unspecified template (I'll call the distortion template), I would guess a symmetric MNI template. My current strategy for getting a distortion atlas in the EPI ref space is:
If we don't think an affine transformation is sufficient to go between templates, then I think it would make more sense to calculate a transform from the T1 to the distortion template and invert that, since we're going to go through the trouble of a nonlinear transform anyway. Alternately, we can pre-calculate a (distortion template -> template) warp for each template we support. WDYT? |
I think affine is perfectly fine for this purpuse. BTW the template they
used (defining the space) is this one http://neurovault.org/images/43982/
AFAIK.
…On Fri, Jun 2, 2017 at 9:31 AM, Chris Markiewicz ***@***.***> wrote:
For the distortion atlas <http://neurovault.org/collections/2426/>, the
authors provide an unspecified template (I'll call the *distortion
template*), I would guess a symmetric MNI template. My current strategy
for getting a distortion atlas in the EPI ref space is:
- Find an affine transformation from the distortion template to the
template in use by FMRIPREP
- Apply (distortion template -> template) + inv(T1 -> template) +
inv(EPI ref -> T1) to distortion atlas
If we don't think an affine transformation is sufficient to go between
templates, then I think it would make more sense to calculate a transform
from the T1 to the distortion template and invert that, since we're going
to go through the trouble of a nonlinear transform anyway.
Alternately, we can pre-calculate a (distortion template -> template) warp
for each template we support.
WDYT?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#544 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOkp94S41UsyuutCWIB780fWuc5ePxEks5sADjEgaJpZM4NuVYr>
.
|
Right, they used that template, but it's not clear if it's a standard template or if they created it from their collection of subjects. Not sure that it makes a difference for our purposes; just noting the situation. |
How do I get the phase-encoding direction from the JSON file associated with a BOLD image? Just make sure I have the original filename and replace Edit: Found it: Another thing to consider: This atlas is only valid for anterior/posterior phase-encoding. In the event of an |
416f4be
to
2cbddd8
Compare
There are two things to consider:
|
|
Yes, theoretically the fieldmap is the same regardless the encoding direction. I don't think you'll find a scan with k/-k for PE since that's the B0 direction. As regards the case of unknown PEs, as @effigies I'd say better going to option 2 (two registration processes). However, it shouldn't be that hard to look at the disagreement map of the T1 mask linearly mapped into EPI space and the EPI mask. Then project to X and Y. The PE axis should show a bimodal distribution in the PE axis and monomodal in the FE axis. EDIT: maybe it is not that easy :( because in the FE axis it will probably be bimodal as well. We'll need to look at the width of those histograms. |
ae3191e
to
70db2ab
Compare
Current status: This performs the warping as expected and generates a report (currently SyN-registered reference EPI to the inverted-T1-in-EPI space). Still in progress:
|
01c1bdd
to
1f281ca
Compare
b758af5
to
909730c
Compare
92d4a2f
to
65594fa
Compare
This is just about ready. I'm going to work on some documentation today and plan to release 0.5.0 by tonight. |
+1
…On Wed, Jun 21, 2017 at 3:57 AM, Chris Markiewicz ***@***.***> wrote:
This is just about ready. I'm going to work on some documentation today
and plan to release 0.5.0 by tonight.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#544 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AAOkp_VtjxzKRtf39pG-KTTdzc3prE80ks5sGPcTgaJpZM4NuVYr>
.
|
7c6020c
to
c0cd9b3
Compare
Added to the SDC docs, in the fieldmap estimation section. It may make sense to move this workflow out of |
7e4fbaa
to
cf974c2
Compare
cf974c2
to
9c7727a
Compare
Closes #496