.
This commit is contained in:
@@ -303,6 +303,12 @@ function setUpDicom(element) {
|
||||
const imageIds = element.dataset.url.split(",");
|
||||
|
||||
console.log("Dicom - load imageId: ", imageIds);
|
||||
for (let index = 0; index < imageIds.length; index++) {
|
||||
if (imageIds[index].endsWith("dcm") {
|
||||
imageIds[index] = "wadouri" + imageIds[index];
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
cornerstone.enable(element);
|
||||
cornerstone.loadAndCacheImage(imageIds[0]).then(function (image) {
|
||||
|
||||
Reference in New Issue
Block a user