-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
feat(SR): SCOORD3D point annotations support for stack viewport #3857
Conversation
✅ Deploy Preview for ohif-platform-docs ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
❌ Deploy Preview for ohif-dev failed. Why did it fail? →
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #3857 +/- ##
=======================================
Coverage 44.44% 44.44%
=======================================
Files 80 80
Lines 1332 1332
Branches 327 327
=======================================
Hits 592 592
Misses 587 587
Partials 153 153 Continue to review full report in Codecov by Sentry.
|
@sedghi can you take a look at these changes and let me know what you think? This allows the rendering of scoord3d points by FOR. There's another PR here that is related: cornerstonejs/cornerstone3D#950 |
Passing run #4004 ↗︎
Details:
Review all test suite changes for PR #3857 ↗︎ |
…oint-annotations-support
…oint-annotations-support
…oint-annotations-support
…ohif/Viewers into feat/scoord3d-point-annotations-support
extensions/cornerstone-dicom-sr/src/viewports/OHIFCornerstoneSRViewport.tsx
Show resolved
Hide resolved
extensions/cornerstone-dicom-sr/src/utils/getSOPInstanceAttributes.js
Outdated
Show resolved
Hide resolved
*/ | ||
const findImageIdIndexFromMeasurementByFOR = (imageIds, measurement) => { | ||
let imageIdIndex = -1; | ||
measurement.metadata.coords.forEach(coord => { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to be a special measurement since it has coordinates. Can we call it SRMeasurement
then?
…oint-annotations-support
…oint-annotations-support
@igoroctaviano do we have an instance that can be pointed to a Google DICOM Store to test this functionality? |
@fedorov We don't but you can quickly test it locally using your OIDC config and http://localhost:3000/projects/idc-sandbox-000/locations/us/datasets/idc-dicom-test-inventory/dicomStores/test-samples/study/1.3.6.1.4.1.14519.5.2.1.7310.5101.860473186348887719777907797922. In my last discussion with the OHIF team, they mentioned that this PR would need some modifications to be merged, such as adding a new Cornerstone scoord3d point tool and adapter to cornertone instead of using OHIF's DICOM SR display tool. Unfortunately, we don't have the time/resources to implement these changes at this moment. |
I am not quite sure what this means. But in any case, since there is no plan to make this available any time soon, and it will be reimplemented anyway, it is not worth it to spend time testing. It is unfortunate that after investing so much into developing this functionality from the IDC side, it is still in this state ... |
I agree. The PR got approved at some point but things changed on the OHIF side. I'll leave the PR open since SCOORD3D support might be another project's common interest. |
Could you test this with the changes for Viewports for Video and WSI? Much of the same jump to point capabilities were added as a core part of CS3D recently, and then supported in OHIF using the setViewReference capabilities. I'm not sure how much is still needed, and what other parts are still needed. |
…oint-annotations-support
Context
Former PRs:
#planar
Changes & Results
Testing
Checklist
PR
semantic-release format and guidelines.
Code
etc.)
Public Documentation Updates
additions or removals.
Tested Environment