fix(PT measurement units): Use the modality unit that arrives from cornerstone3d instead of calculating the modality unit (again) here. (#3533)

This commit is contained in:
Joe Boccanfuso authored and GitHub committed 2023-07-13 09:03:17 -04:00
1 parent 93a009f1a6
commit 18156bb7b1
12 files changed
+49 -59

No files matched your search

@@ -405,6 +405,14 @@ class MetadataProvider {
};
break;
case WADO_IMAGE_LOADER_TAGS.PER_SERIES_MODULE:
metadata = {
correctedImage: instance.CorrectedImage,
units: instance.Units,
decayCorrection: instance.DecayCorrection,
};
break;
default:
return;
}
@@ -508,6 +516,7 @@ const WADO_IMAGE_LOADER_TAGS = {
MODALITY_LUT_MODULE: 'modalityLutModule',
SOP_COMMON_MODULE: 'sopCommonModule',
PET_ISOTOPE_MODULE: 'petIsotopeModule',
PER_SERIES_MODULE: 'petSeriesModule',
OVERLAY_PLANE_MODULE: 'overlayPlaneModule',
PATIENT_DEMOGRAPHIC_MODULE: 'patientDemographicModule',