-
Notifications
You must be signed in to change notification settings - Fork 1
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
DIPY's gradients tables -- scanner or voxel coordinates? #3
Comments
Voxel coordinates. |
Good to know. Does it convert it to scanner coordinates internally? |
No. I might be misunderstanding, though. DIPY doesn't automatically do anything with the gradient directions. So, if you give it bvecs in world coordinates it will retain those coordinates. The GradientTable class doesn't have any knowledge of the transforms associated with the data, so it is up to the user to bring the bvecs and the data in register. Does that answer your original question? |
I might be the one who misunderstands the problem itself. AFAICT, scanners differ on how you write in the gradients table and how they store it in the DICOM structure. I believe that GE, for instance, uses voxel coordinates. But Siemens uses scanner coordinates. When fitting the model, if the coordinate system is based on each voxel, then obviously, the voxel coordinates should be used for the gradients. However, if the model is implemented with world (or scanner, or physical) coordinates, then you need to make sure there is no rotation of the image's coordinate system. If there's no such a rotation (or more exotic possibilities like diamond-shaped voxels), then you'd be fine. But the rotation will definitely confuse the model. And, with parallel imaging and current EPI sequences, having rotated orientations is pretty common. |
That's exactly right: the user needs (or here, we need) to make sure that the b-vectors end up in the right coordinate frame before giving them to DIPY. DIPY will not do any of this for us. |
Question for @arokem: just to be sure, what are the coordinates DIPY expects?
The text was updated successfully, but these errors were encountered: