You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to preprocess a 2D EPI dwi image acquired sagittally. My preprocessed data looks bad (i.e., it has dark and bright spots that don't correspond to the anatomy) when run on my dwi image oriented PSR+ (converted using dcm2niix). When I reorient the image to LAS+ and rerun the preprocessing the preprocessed image looks much better.
However, when I reorient the image to LAS+ I am not able to use eddy's intra-volume motion correction since the slice timing info in the json file no longer corresponds to the reoriented nifti image. This is too bad because there is quite a bit of motion in the data.
Does qsiprep require the data to have a specific image orientation? What could explain the different results?
Additional details
QSIPrep version: 0.19.1 (unable to run this in 0.22.0 due to issue #792
Docker version: 25.0.4
What were you trying to do?
Preprocess my dwi data.
What did you expect to happen?
Successfully complete preprocessing.
What actually happened?
Preprocessed results look bad (bright and dark spots appear in areas where they shouldn't).
I've never run into PSR dwi data before, so it's possible there is something missing in the workflow that reads in the images. Would you be able to share some of this PSR data?
@mattcieslak do you have access to the NIMH Data Archive? This PSR data comes from NDA Collection 3088. You'd need to have a non-expired Data Use Certificate for me to share it with you.
Summary
I am trying to preprocess a 2D EPI dwi image acquired sagittally. My preprocessed data looks bad (i.e., it has dark and bright spots that don't correspond to the anatomy) when run on my dwi image oriented PSR+ (converted using dcm2niix). When I reorient the image to LAS+ and rerun the preprocessing the preprocessed image looks much better.
However, when I reorient the image to LAS+ I am not able to use eddy's intra-volume motion correction since the slice timing info in the json file no longer corresponds to the reoriented nifti image. This is too bad because there is quite a bit of motion in the data.
Does qsiprep require the data to have a specific image orientation? What could explain the different results?
Additional details
What were you trying to do?
Preprocess my dwi data.
What did you expect to happen?
Successfully complete preprocessing.
What actually happened?
Preprocessed results look bad (bright and dark spots appear in areas where they shouldn't).
Reproducing the bug
Here is the command I ran:
Screenshots of the final preprocessed b0 reference image when the input dwi is oriented in:
PSR+
![preprocessed_b0_PRS](https://private-user-images.githubusercontent.com/148301655/356382134-f7259de5-cabc-4e39-bd60-72ea12469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1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjUwMjE4JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI1MDIxOFQxNTA0MDdaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT1kYTIzOGMwM2RjZmNmMTA0MjA5YzQyYjg5MzVjNTY1NjAzNTQ5YWI0YTQwMDY5ZDVkODE4MmY0ZTBhMzk4ODIzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCJ9.OMDDfP_kT42IvDV53OoVnSxUp9Nsx-1gzWvDWVpVZsI)
The text was updated successfully, but these errors were encountered: