You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When loading images with cornerstoneDICOMImageLoader.wadouri.fileManager.add they are given an id with the format dicom:<image number>. Annotations created on images loaded this way will also show up on the images whose image number matches the last digits of the image number they were created on.
For example: If you were to load 200 images, then create an annotation on the image with the ID dicom:126 it will also be displayed when rendering the images dicom:26 or dicom:6.
The repro displays two viewports with the CircleROITool active, the left viewport is displaying dicom:0, the right viewport is displaying dicom:10. If you create an annotation in the right viewport it will also be displayed in the left one, but notably the reverse is not true, creating annotations in the left viewport only display in the left viewport.
This is not limited to displaying multiple viewports, the annotation will also incorrectly show up if you have a single viewport on dicom:10, create an annotation, then switch it to dicom:0
The expected behavior
The expected behavior is that annotations should only show up on the image they was created on.
OS
Windows 10
Node version
18.12.1
Browser
Chrome (128.0.6613.114) & Firefox (130.0)
The text was updated successfully, but these errors were encountered:
Describe the Bug
When loading images with
cornerstoneDICOMImageLoader.wadouri.fileManager.add
they are given an id with the formatdicom:<image number>
. Annotations created on images loaded this way will also show up on the images whose image number matches the last digits of the image number they were created on.For example: If you were to load 200 images, then create an annotation on the image with the ID
dicom:126
it will also be displayed when rendering the imagesdicom:26
ordicom:6
.Steps to Reproduce
I have created a minimal repro of this issue here (instructions in the README): https://github.com/plt-joey/cornerstone-issue-repro/tree/master
The current behavior
The repro displays two viewports with the
CircleROITool
active, the left viewport is displayingdicom:0
, the right viewport is displayingdicom:10
. If you create an annotation in the right viewport it will also be displayed in the left one, but notably the reverse is not true, creating annotations in the left viewport only display in the left viewport.This is not limited to displaying multiple viewports, the annotation will also incorrectly show up if you have a single viewport on
dicom:10
, create an annotation, then switch it todicom:0
The expected behavior
The expected behavior is that annotations should only show up on the image they was created on.
OS
Windows 10
Node version
18.12.1
Browser
Chrome (128.0.6613.114) & Firefox (130.0)
The text was updated successfully, but these errors were encountered: