I would like to develop a mode with hanging protocol that takes a study with SR and CT series show them in 1x2 layout side by side. Would like to show CT either in a stack view or Axial view and SR in SR View port. With an ability to synchronize slice scrolling between views.
Questions:
- What should be the viewportType for SR View Port
- How to configure synchronization between stack and SR view port, specifically what type of sync this should be (e.g. camera position, voi)
- Is there a way to show the measurements from SR in a separate panel to navigate findings into the volume.
I spent a lot of time reading through the docs and code, not able to find clues. Any help is appreciated.
------ Update -----
I tried a small experiment to assign srdataset to a view port and I have added sopclass handlers for sr in my mode using
const dicomsr = {
sopClassHandler:
‘@ohif/extension-cornerstone-dicom-sr.sopClassHandlerModule.dicom-sr’,
viewport: ‘@ohif/extension-cornerstone-dicom-sr.viewportModule.dicom-sr’,
};
sopClassHandlers: [
ohif.sopClassHandler,
dicomsr.sopClassHandler,
],
Now I see following error on the console.