View in #cornerstone3d on Slack
@Peter_Newhook: For hydrating previously saved annotations Is there a recommended approach between annotationHydration()
and the hydrate()
method defined on each tool?
@Alireza_Sedghi: On each tool is the way
@Peter_Newhook: Good to know. Notes from this office hours led me to believe annotationHydration
is the preferred approach. https://cornerstonejs.slack.com/archives/C9H262R2N/p1729183185729399
[October 17th, 2024 9:39 AM] ar.sedghi: Today office hours notes can be found https://github.com/OHIF/OHIF-Office-Hours/blob/f0d7a4843740d9b6c699b10530f2102201c9a4ed/notes/2024-10-17.md|here.
11 participants
• Discussed:
◦
Explaining the relationship between image loaders and metadata loaders in Cornerstone
◦
Troubleshooting volume rendering issues with custom image loaders and SharedArrayBuffer
◦
Using annotation hydration utility for adding annotations programmatically
◦
Addressing multi-frame measurement navigation issues in ultrasound studies
◦
Comparing OHIF and Cornerstone approaches to volume reconstruction and metadata handling
◦
Previewing upcoming changes in Cornerstone3D 2.0 for metadata, image loading, and volume handling
PS:
• Register to participate in the Office Hours https://us02web.zoom.us/meeting/register/tZMldOuuqj0jGty2AOGnhQc8hMjABEUL_JL4#/registration|here, learn more about office hours https://github.com/OHIF/OHIF-Office-Hours|here
• You can Subscribe to OHIF newsletter https://ohif.org/news/|here
◦ see previous newsletters https://ohif.org/news/|here
• If you have technical questions, there are various public channels that can be used to ask, you can join them <#CEM89S010|> <#C03T99K0RA7|> <#CCF44SE07|> <#CG6UN5LTC|> and new <#C064BM9ASL9|> channel
>
Q: How to get all images to addAnnotations with cs3dTools.annotation.state.addAnnotation(…) ? Today, I have an issue about a wrong targetId something strange. I use this to have imageId: “const imageId = viewport.getCurrentImageId()”
> A:
> • Recommended to use the annotation hydration utility
> • Located in the utilities of tools
> • Handles various issues related to adding annotations programmatically
> • Usage: Provide viewport, tool name, world positions, and options
> • Reference: packages/tools/src/utilities/annotationHydration.ts
>
@Alireza_Sedghi: I guess it was before we implemented per tool
@Peter_Newhook: Thanks for clarifying