@cornerstonejs/dicom-image-loader 2.12.3 → 2.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -194,6 +194,7 @@ function metaDataProvider(type, imageId) {
|
|
|
194
194
|
return {
|
|
195
195
|
windowCenter: getNumberValues(metaData['00281050'], 1),
|
|
196
196
|
windowWidth: getNumberValues(metaData['00281051'], 1),
|
|
197
|
+
voiLUTFunction: getValue(metaData['00281056']),
|
|
197
198
|
};
|
|
198
199
|
}
|
|
199
200
|
if (type === MetadataModules.MODALITY_LUT) {
|
|
@@ -151,6 +151,7 @@ export function metadataForDataset(type, imageId, dataSet) {
|
|
|
151
151
|
windowCenter: getNumberValues(dataSet, 'x00281050', 1),
|
|
152
152
|
windowWidth: getNumberValues(dataSet, 'x00281051', 1),
|
|
153
153
|
voiLUTSequence: getLUTs(modalityLUTOutputPixelRepresentation, dataSet.elements.x00283010),
|
|
154
|
+
voiLUTFunction: dataSet.string('x00281056'),
|
|
154
155
|
};
|
|
155
156
|
}
|
|
156
157
|
if (type === MetadataModules.MODALITY_LUT) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cornerstonejs/dicom-image-loader",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.14.0",
|
|
4
4
|
"description": "Cornerstone Image Loader for DICOM WADO-URI and WADO-RS and Local file",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"DICOM",
|
|
@@ -116,7 +116,7 @@
|
|
|
116
116
|
"uuid": "^9.0.0"
|
|
117
117
|
},
|
|
118
118
|
"peerDependencies": {
|
|
119
|
-
"@cornerstonejs/core": "^2.
|
|
119
|
+
"@cornerstonejs/core": "^2.14.0",
|
|
120
120
|
"dicom-parser": "^1.8.9"
|
|
121
121
|
},
|
|
122
122
|
"lint-staged": {
|
|
@@ -131,5 +131,5 @@
|
|
|
131
131
|
"path": "./node_modules/cz-conventional-changelog"
|
|
132
132
|
}
|
|
133
133
|
},
|
|
134
|
-
"gitHead": "
|
|
134
|
+
"gitHead": "df90c42c63dc8392c9ebc2cdd953ee0dd1a974de"
|
|
135
135
|
}
|