larvitar 1.5.13 → 1.5.14
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.
- package/README.md +2 -2
- package/imaging/imageLoading.js +4 -3
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,8 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
## Dicom Image Toolkit for CornerstoneJS
|
|
8
8
|
|
|
9
|
-
### Current version: 1.5.
|
|
10
|
-
### Latest Published Release: 1.5.
|
|
9
|
+
### Current version: 1.5.14
|
|
10
|
+
### Latest Published Release: 1.5.14
|
|
11
11
|
|
|
12
12
|
This library provides common DICOM functionalities to be used in web-applications: it's wrapper that simplifies the use of cornerstone-js environment.
|
|
13
13
|
Orthogonal multiplanar reformat is included as well as custom loader/exporter for nrrd files and [Vuex](https://vuex.vuejs.org/) custom integration.
|
package/imaging/imageLoading.js
CHANGED
|
@@ -177,9 +177,10 @@ export const updateLoadedStack = function (
|
|
|
177
177
|
};
|
|
178
178
|
}
|
|
179
179
|
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
180
|
+
// get instance number from metadata
|
|
181
|
+
const instanceNumber = seriesData.metadata["x00200013"];
|
|
182
|
+
const defaultMethod = instanceNumber ? "instanceNumber" : "imagePosition";
|
|
183
|
+
const sortMethods = is4D ? [defaultMethod, "contentTime"] : [defaultMethod];
|
|
183
184
|
|
|
184
185
|
// if the parsed file is a new series instance, keep it
|
|
185
186
|
if (isNewInstance(allSeriesStack[id].instances, iid)) {
|
package/package.json
CHANGED