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:
1 parent
93a009f1a6
commit
18156bb7b1
12 files changed
+49
-59
No files matched your search
@@ -51,7 +51,7 @@
|
||||
"@cornerstonejs/codec-libjpeg-turbo-8bit": "^1.2.2",
|
||||
"@cornerstonejs/codec-openjpeg": "^1.2.2",
|
||||
"@cornerstonejs/codec-openjph": "^2.4.2",
|
||||
"@cornerstonejs/dicom-image-loader": "^1.4.1",
|
||||
"@cornerstonejs/dicom-image-loader": "^1.4.4",
|
||||
"@ohif/core": "3.7.0-beta.32",
|
||||
"@ohif/extension-cornerstone": "3.7.0-beta.32",
|
||||
"@ohif/extension-cornerstone-dicom-rt": "3.7.0-beta.32",
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
"@cornerstonejs/codec-libjpeg-turbo-8bit": "^1.2.2",
|
||||
"@cornerstonejs/codec-openjpeg": "^1.2.2",
|
||||
"@cornerstonejs/codec-openjph": "^2.4.2",
|
||||
"@cornerstonejs/dicom-image-loader": "^1.4.1",
|
||||
"@cornerstonejs/dicom-image-loader": "^1.4.4",
|
||||
"@ohif/ui": "3.7.0-beta.32",
|
||||
"cornerstone-math": "0.1.9",
|
||||
"dicom-parser": "^1.8.21"
|
||||
|
||||
@@ -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',
|
||||
|
||||
|
||||
Reference in new issue
Block a user