perf(segmentation): make segmentation read 3x faster (#3577)

This commit is contained in:
Alireza authored and GitHub committed 2023-08-08 14:39:31 -04:00
1 parent ec76ea24dd
commit 156c1ba60b
17 files changed
+187 -315

No files matched your search

@@ -70,6 +70,11 @@ class MetadataProvider {
SeriesInstanceUID,
SOPInstanceUID
);
if (!instance) {
return;
}
return (
(frameNumber && combineFrameInstance(frameNumber, instance)) || instance
);