feat: use wadors instead of streaming wadors for volume loading (#3109)

This commit is contained in:
Alireza authored and GitHub committed 2023-01-11 07:19:27 -05:00
1 parent ac90df356e
commit 1d1b33224a
8 files changed
+110 -48

No files matched your search

@@ -7,7 +7,6 @@ import {
VolumeViewportData,
} from '../../types/CornerstoneCacheService';
const VOLUME_IMAGE_LOADER_SCHEME = 'streaming-wadors';
const VOLUME_LOADER_SCHEME = 'cornerstoneStreamingImageVolume';
class CornerstoneCacheService {
@@ -238,14 +237,7 @@ class CornerstoneCacheService {
dataSource
);
if (stackImageIds[0].startsWith('dicomfile')) {
return stackImageIds;
}
return stackImageIds.map(imageId => {
const imageURI = utils.imageIdToURI(imageId);
return `${VOLUME_IMAGE_LOADER_SCHEME}:${imageURI}`;
});
return stackImageIds;
}
}