feat: Add WSI bulk data annotations support (ANN) (#4972)

Co-authored-by: Bill Wallace <wayfarer3130@gmail.com>
This commit is contained in:
Igor OctavianoandBill Wallace authored and GitHub committed 2025-08-20 08:13:30 -04:00
1 parent 0164ad5519
commit 2ed6818171
29 files changed
+461 -265

No files matched your search

@@ -172,7 +172,7 @@ function DicomMicroscopyViewport({
microscopyService.clearAnnotations();
let smDisplaySet = displaySet;
if (displaySet.Modality === 'SR') {
if (displaySet.isOverlayDisplaySet) {
// for SR displaySet, let's load the actual image displaySet
smDisplaySet = displaySet.getSourceDisplaySet();
}
@@ -180,7 +180,7 @@ function DicomMicroscopyViewport({
await loadViewer(smDisplaySet.others);
if (displaySet.Modality === 'SR') {
if (displaySet.isOverlayDisplaySet && !displaySet.isLoaded && !displaySet.isLoading) {
displaySet.load(smDisplaySet);
}
},
@@ -205,8 +205,8 @@ function DicomMicroscopyViewport({
microscopyService.clearAnnotations();
// loading SR
if (displaySet.Modality === 'SR') {
// loading SR - only if not already loaded and not currently loading
if (displaySet.isOverlayDisplaySet && !displaySet.isLoaded && !displaySet.isLoading) {
const referencedDisplaySet = displaySet.getSourceDisplaySet();
displaySet.load(referencedDisplaySet);
}