-
Notifications
You must be signed in to change notification settings - Fork 262
flip dimensions in OrthoSlicer3D #559
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
I'm replicating this issue, so I'd say it's either a bug in nibabel or in freeview... Edit: Freeview is consistent with fslview, so I'm going to call this a nibabel bug. |
I've loaded a CT of an epileptic patient with depth electrodes, and it can be seen clearly from the electrodes locations that it's a nibabel bug. |
I'm going to generate a series of images with different orientations to check whether it's always LR flipped or just in some orientations. Hopefully it's always, because that'll be the easiest to fix. (The logic of this feature is not easy to follow.) |
Yes, I used this code to support slices view in my visualization software (mmvt), and indeed, it was quite hard to follow. In the end, I've just flipped this dimension. From what I checked, it seems to be always LR flipped. |
Thanks. Feel free to submit a PR with your modification. Otherwise I will, when I get a few more minutes. |
Well, for now, in my code I've just added this line: |
Sorry to be superficial - but can the difference be explained by differences in display conventions? Nibabel does display the left on the left - neurological convention. Maybe Freesurfer does right on the left - radiological? Or am I missing something? |
@pelednoam - yes - the visualization code needs to be refactored. It's been on my to-do list for a while ... |
The L and R labels need to be swapped, then.
…On Oct 14, 2017 07:58, "Matthew Brett" ***@***.***> wrote:
Sorry to be superficial - but can the difference be explained by
differences in display conventions? Nibabel does display the left on the
left - neurological convention. Maybe Freesurfer does right on the left -
radiological? Or am I missing something?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#559 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAFF8gIJtzorax6SoXozEjlXwFkBsQP9ks5ssKHUgaJpZM4Pnw6e>
.
|
@matthew-brett, I don't think it's conventions issue, because both in nibabel and freeview, in those two perspectives, the label R is on the right and L is on the left. I could understand the flip if also the labels were flipped. Thanks! |
Hey,
I'm loading sample subject (from freesurfer) T1.mgz file, both using OrthoSlicer3D and freeview (same slice: 133, 84, 122). It looks like in the coronal and axial views, the left and right are flipped:
OrthoSlicer3D:
freeview:
Any idea why?
Thanks!
The text was updated successfully, but these errors were encountered: