OHIF / Viewers

OHIF zero-footprint DICOM viewer and oncology specific Lesion Tracker, plus shared extension packages
https://docs.ohif.org/
MIT License
3.02k stars 3.18k forks source link

Study is not Load in Study Browser. While Loading the Modality "SM" #626

Closed Malik-Adil closed 4 years ago

Malik-Adil commented 5 years ago

When I Open the Study having the modality SM. Study Browser shows the black screen only as shown in the screen Short

Screenshot from 2019-07-05 09-56-36

When Select the Tool from the tool list. The tool becomes active but I am not able to use in the Viewer?

Screenshot from 2019-07-05 09-57-17

When I Drag the mouse in the Viewer Only Zoom Work.

swederik commented 5 years ago

Yes the tools do not currently work. The whole-slide microscopy extension uses https://github.com/dcmjs-org/dicom-microscopy-viewer under the hood, and we have not set up the commands to allow tool usage on this viewport yet.

We would welcome any pull requests to improve the microscopy extension because we do not currently have funding to improve this functionality. If your company is willing to sponsor development, that would also go a long way.

Essentially you would need to add the equivalent modules to the microscopy extension to enable tools via the activateDrawInteraction API method (https://github.com/dcmjs-org/dicom-microscopy-viewer/blob/c706f918c0387c40f34cff922d6200e18d43b9ce/src/api.js#L765):

https://github.com/OHIF/Viewers/blob/master/extensions/ohif-cornerstone-extension/src/commandsModule.js

https://github.com/OHIF/Viewers/blob/master/extensions/ohif-cornerstone-extension/src/toolbarModule.js

swederik commented 5 years ago

Just noticed that I did not address the initial issue:

dannyrb commented 4 years ago

This has been addressed. Thumbnail now shows with "SM" text. We would be willing to accept a PR that improves the implementation to use a PreviewImage instead of text.