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

Question: Can we get presentation state data from the cornerstone viewport object? #89

Open
getnsv opened this issue Jun 1, 2020 · 1 comment

Comments

@getnsv
Copy link

getnsv commented Jun 1, 2020

Hi there ,

Am looking to get hold of DICOM presentation state data any and display/enable on the dicom image after the element has been enabled.

I tested the overlaytest.dcm image in the my code and it was getting rendered, but was not able to get the presentation layer data with the canvas object. Maybe am missing something. Then realized that somebody in that issue has commented that cornerstone cannot access the presentation layer data if any.

Went through all these github links and not sure whether the feature of reading presentation state data is available in cornerstonetools now.

Also would be very obliged if you could please give the steps briefly of accessing the same using the react-cornerstone viewport

cornerstonejs/cornerstoneTools#780
https://gist.github.com/jdnarvaez/3368ac3e4f7f4eb14bc5f453f8a1ed1b
cornerstonejs/cornerstoneWADOImageLoader#239
OHIF/Viewers#954
cornerstonejs/cornerstoneTools#210
https://github.com/cornerstonejs/cornerstoneTools/blob/master/src/tools/annotation/LengthTool.js#L126-L129

Thanks very much in advance,
Sreevani

@shanebenlolo
Copy link

Hello, did you ever get this issue worked out?

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

2 participants