react-vtkjs-viewport
react-vtkjs-viewport copied to clipboard
Wrong orientation for Sagittal plane
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.

Any one figured solution for this ?
I used a hack in the OHIF v2 code I gleaned from another issue's comments (https://github.com/OHIF/Viewers/issues/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