@cornerstonejs/dicom-image-loader 4.5.13 → 4.5.15

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.
@@ -105,10 +105,16 @@ export function metadataForDataset(type, imageId, dataSet) {
105
105
  const sliceThickness = extractSliceThicknessFromDataset(dataSet);
106
106
  let columnPixelSpacing = null;
107
107
  let rowPixelSpacing = null;
108
+ let usingDefaultValues = false;
108
109
  if (pixelSpacing) {
109
110
  rowPixelSpacing = pixelSpacing[0];
110
111
  columnPixelSpacing = pixelSpacing[1];
111
112
  }
113
+ else {
114
+ usingDefaultValues = true;
115
+ rowPixelSpacing = 1;
116
+ columnPixelSpacing = 1;
117
+ }
112
118
  let rowCosines = null;
113
119
  let columnCosines = null;
114
120
  if (imageOrientationPatient) {
@@ -136,6 +142,7 @@ export function metadataForDataset(type, imageId, dataSet) {
136
142
  pixelSpacing,
137
143
  rowPixelSpacing,
138
144
  columnPixelSpacing,
145
+ usingDefaultValues,
139
146
  };
140
147
  }
141
148
  if (type === MetadataModules.CINE) {
@@ -1 +1 @@
1
- export declare const version = "4.5.13";
1
+ export declare const version = "4.5.15";
@@ -1 +1 @@
1
- export const version = '4.5.13';
1
+ export const version = '4.5.15';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cornerstonejs/dicom-image-loader",
3
- "version": "4.5.13",
3
+ "version": "4.5.15",
4
4
  "description": "Cornerstone Image Loader for DICOM WADO-URI and WADO-RS and Local file",
5
5
  "keywords": [
6
6
  "DICOM",
@@ -112,7 +112,7 @@
112
112
  "uuid": "9.0.1"
113
113
  },
114
114
  "peerDependencies": {
115
- "@cornerstonejs/core": "4.5.13",
115
+ "@cornerstonejs/core": "4.5.15",
116
116
  "dicom-parser": "1.8.21"
117
117
  },
118
118
  "config": {
@@ -120,5 +120,5 @@
120
120
  "path": "./node_modules/cz-conventional-changelog"
121
121
  }
122
122
  },
123
- "gitHead": "d1ba756ec155bc6870473d9fdbf4484847b7e03d"
123
+ "gitHead": "881c6bcd44c444448be2b82177d0884b4880540e"
124
124
  }