@cornerstonejs/dicom-image-loader 2.12.2 → 2.13.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) {
@@ -7,6 +7,5 @@ export interface DICOMLoaderIImage extends Types.IImage {
7
7
  totalTimeInMS?: number;
8
8
  data?: DataSet;
9
9
  imageFrame?: Types.IImageFrame;
10
- voiLUTFunction: string | undefined;
11
10
  transferSyntaxUID?: string;
12
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/dicom-image-loader",
3
- "version": "2.12.2",
3
+ "version": "2.13.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.12.2",
119
+ "@cornerstonejs/core": "^2.13.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": "2f69dedfcdf36206d48c1584246bd89993ad8e28"
134
+ "gitHead": "dcac6b44a3c251f0e11da0fa3f43397626fae920"
135
135
  }