-
Notifications
You must be signed in to change notification settings - Fork 301
CompCor contours misaligned with reference BOLD image #710
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
Comments
This looks to me as a potential duplicate of #703. I've edited your initial post to clarify dataset and subject. |
Running 1.0.0-rc4 on this one. We'll see if it replicates. |
@oesteban Did this finish? |
Ok, I can confirm this is still happening with 1.0.0-rc4. Same aCompCor plots. |
This is not a visualization issue. The overlay (aCompCor mask) is correct and the BOLD average is displaced. |
@effigies WDYT about the following hypothesis. The command we use to convert from mat to itk is:
While this is fine for the BBR path, the reference image here is in conformed FS' space right? Therefore, we would need first to use that as reference for convert3d and second, prepend the ras2tk transform with FSL before we apply it. Right? |
This might be helpful here: https://gist.github.com/satra/1096274 |
|
Right. I've also run the workflow with |
If you're seeing the displacement in fslview or freeview or similar, then you can just start looking at outputs and see when the misalignment happens or gets worse. |
Ok, the BBR transform applied alone but using the ITK version & |
I think I've got it. The reference space for transforms from HMC and SDC are different than the reference for BOLD-T1w. I used We need to adjust the center of the image I guess. Will keep digging but I think this might be the problem. |
I may have identified the source of translation: If I manually transform the first volume of the BOLD dataset with the SDC transform (seems like the first volume is the reference for head motion correction, so identity transform for that part), the resulting "SD corrected" image is:
While for the actual reference image used as input for BBR is:
So we are changing the center coordinates of the xform. |
Is |
Nope, I'll trace it back to the node where we mess up the xform. |
Ugh. Sorry about this. |
Got it: |
Uh oh!
There was an error while loading. Please reload this page.
Unknown as yet whether this is just a visualization issue or if the misalignment shows bad masks that infect results.
DS000001 / sub-02
The text was updated successfully, but these errors were encountered: