IDC2797: improving UI for SR qualitative measurements and bug fixes (#2832)

This commit is contained in:
Davide Punzo authored and GitHub committed 2022-06-29 04:24:35 +02:00
1 parent 5d6cf2a609
commit 1bcb0acf9f
12 files changed
+241 -80

No files matched your search

@@ -661,10 +661,9 @@ const _mapStudiesToThumbnails = function(studies, activeDisplaySetInstanceUID) {
let altImageText;
if (displaySet.Modality && displaySet.Modality === 'SEG') {
// TODO: We want to replace this with a thumbnail showing
// the segmentation map on the image, but this is easier
// and better than what we have right now.
altImageText = 'SEG';
} else if (displaySet.Modality && displaySet.Modality === 'SR') {
altImageText = 'SR';
} else if (displaySet.images && displaySet.images.length) {
const imageIndex = Math.floor(displaySet.images.length / 2);
imageId = displaySet.images[imageIndex].getImageId();