hellfire 0.27.4 → 0.27.5
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/CHANGELOG.md +4 -0
- package/dist/index.js +12 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
|
|
4
4
|
|
|
5
|
+
## [0.27.5](http://10.16.100.57/diffusion/115/paladin/compare/v0.27.4...v0.27.5) (2023-10-12)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
5
9
|
## [0.27.4](http://10.16.100.57/diffusion/115/paladin/compare/v0.27.3...v0.27.4) (2023-09-18)
|
|
6
10
|
|
|
7
11
|
|
package/dist/index.js
CHANGED
|
@@ -28187,7 +28187,7 @@ var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
28187
28187
|
var _renderToolData = asyncToGenerator( /*#__PURE__*/regenerator.mark(function _callee(evt) {
|
|
28188
28188
|
var _this2 = this;
|
|
28189
28189
|
|
|
28190
|
-
var eventData, element, toolData, stack, imagePlane, seriesInstanceUID, dicom, instanceNumber, aiData, drawData, context, lineWidth, i, data, xOffset;
|
|
28190
|
+
var eventData, element, toolData, stack, imagePlane, seriesInstanceUID, dicom, instanceNumber, aiData, SOPInstanceUIDs, currentImageIdIndex, drawData, context, lineWidth, i, data, xOffset;
|
|
28191
28191
|
return regenerator.wrap(function _callee$(_context) {
|
|
28192
28192
|
while (1) {
|
|
28193
28193
|
switch (_context.prev = _context.next) {
|
|
@@ -28238,7 +28238,8 @@ var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
28238
28238
|
|
|
28239
28239
|
return _objectSpread$d(_objectSpread$d({}, segmentation), {}, {
|
|
28240
28240
|
index: i + 1,
|
|
28241
|
-
info: info
|
|
28241
|
+
info: info,
|
|
28242
|
+
instanceUid: item.instanceUid
|
|
28242
28243
|
});
|
|
28243
28244
|
});
|
|
28244
28245
|
|
|
@@ -28247,8 +28248,16 @@ var AIAnalysisOverlayTool = /*#__PURE__*/function (_BaseAnnotationPlusTo) {
|
|
|
28247
28248
|
});
|
|
28248
28249
|
|
|
28249
28250
|
if (aiData && aiData.length > 0) {
|
|
28251
|
+
SOPInstanceUIDs = stack.data[0].SOPInstanceUIDs;
|
|
28252
|
+
currentImageIdIndex = stack.data[0].currentImageIdIndex;
|
|
28250
28253
|
drawData = lodash$1.filter(aiData, function (item) {
|
|
28251
|
-
|
|
28254
|
+
if (item.sliceIndex || item.sliceIndex === 0) {
|
|
28255
|
+
return item.sliceIndex === instanceNumber;
|
|
28256
|
+
} else {
|
|
28257
|
+
if (item.instanceUid && SOPInstanceUIDs) {
|
|
28258
|
+
return item.instanceUid === SOPInstanceUIDs[currentImageIdIndex];
|
|
28259
|
+
}
|
|
28260
|
+
}
|
|
28252
28261
|
});
|
|
28253
28262
|
|
|
28254
28263
|
if (drawData && drawData.length > 0) {
|