Skip to content
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

Wrong orientation for Sagittal plane #162

Open
kurienzach opened this issue Feb 13, 2022 · 2 comments
Open

Wrong orientation for Sagittal plane #162

kurienzach opened this issue Feb 13, 2022 · 2 comments

Comments

@kurienzach
Copy link

kurienzach commented Feb 13, 2022

Almost all DICOM viewers render the Sagittal view with the head facing left. See attached image for different b/w OHIF and Radiant.

I tried modifying the sliceNormal for the sagittal view from [1,0,0] to [-1, 0, 0] in the props to View2D component which makes the orientation right but selects the wrong slice. Is there any way this can be corrected? I have basic understanding of VTK. If somebody can give me pointers on how to go about making this change inside react-vtkjs-viewer, I can attempt to fix this.
sagittal-view-radiant
sagittal-view-ohif

@vishnuvardhana
Copy link

Any one figured solution for this ?

@jensen0914
Copy link

I used a hack in the OHIF v2 code I gleaned from another issue's comments (OHIF/Viewers#2847) to take care of this. In extensions/vtk/src/commandsModule.js I set the sliceNormal to [-0.999999995, 0.0001, 0] where it was original [1, 0, 0].

Todd Jensen, PhD
Jensen Informatics LLC

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants