hellfire 0.25.5 → 0.25.7
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 +8 -0
- package/dist/index.js +18 -5
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,14 @@
|
|
|
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.25.7](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.6...v0.25.7) (2023-03-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
## [0.25.6](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.5...v0.25.6) (2023-03-01)
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
5
13
|
## [0.25.5](http://10.16.100.57/diffusion/115/paladin/compare/v0.25.4...v0.25.5) (2023-01-30)
|
|
6
14
|
|
|
7
15
|
|
package/dist/index.js
CHANGED
|
@@ -32784,7 +32784,7 @@ function getAIText(data) {
|
|
|
32784
32784
|
type = _data$info.type,
|
|
32785
32785
|
risk = _data$info.risk,
|
|
32786
32786
|
index = data.index;
|
|
32787
|
-
var title = "#".concat(index, " ").concat(inspectionTypeDic(type), " ").concat(risk
|
|
32787
|
+
var title = "#".concat(index, " ").concat(inspectionTypeDic(type), " ").concat(riskTypeDic[risk] || '');
|
|
32788
32788
|
var text = [title];
|
|
32789
32789
|
|
|
32790
32790
|
if (type === 'nodule') {
|
|
@@ -32812,7 +32812,10 @@ function getAIText(data) {
|
|
|
32812
32812
|
}
|
|
32813
32813
|
|
|
32814
32814
|
text.push("\u7ED3\u8282\u5BC6\u5EA6\u5C5E\u6027: ".concat(characteristic && characteristic.texture && textureDic(characteristic.texture) || '无'));
|
|
32815
|
-
|
|
32815
|
+
|
|
32816
|
+
if (characteristic && lodash$1.has(characteristic, ['isCalcification'])) {
|
|
32817
|
+
text.push("\u9499\u5316: ".concat(characteristic && characteristic.isCalcification ? '是' : '否'));
|
|
32818
|
+
}
|
|
32816
32819
|
}
|
|
32817
32820
|
|
|
32818
32821
|
return text;
|
|
@@ -32826,6 +32829,13 @@ function textBoxAnchorPoints(handles) {
|
|
|
32826
32829
|
return [handles.start, midpoint, handles.end];
|
|
32827
32830
|
}
|
|
32828
32831
|
|
|
32832
|
+
var riskTypeDic = {
|
|
32833
|
+
'L': '低风险',
|
|
32834
|
+
'ML': '中低风险',
|
|
32835
|
+
'M': '中风险',
|
|
32836
|
+
'H': '高风险'
|
|
32837
|
+
};
|
|
32838
|
+
|
|
32829
32839
|
function inspectionTypeDic(value) {
|
|
32830
32840
|
switch (value) {
|
|
32831
32841
|
case 'nodule':
|
|
@@ -32843,6 +32853,9 @@ function inspectionTypeDic(value) {
|
|
|
32843
32853
|
case 'pneumonia':
|
|
32844
32854
|
return '肺炎';
|
|
32845
32855
|
|
|
32856
|
+
case 'other_than_nodules_abnormalities':
|
|
32857
|
+
return '结节外异常';
|
|
32858
|
+
|
|
32846
32859
|
default:
|
|
32847
32860
|
return value;
|
|
32848
32861
|
}
|
|
@@ -32864,7 +32877,7 @@ var textureDic = function textureDic(value) {
|
|
|
32864
32877
|
return '磨玻璃';
|
|
32865
32878
|
|
|
32866
32879
|
default:
|
|
32867
|
-
return
|
|
32880
|
+
return value;
|
|
32868
32881
|
}
|
|
32869
32882
|
};
|
|
32870
32883
|
|
|
@@ -32884,6 +32897,7 @@ var textureDic = function textureDic(value) {
|
|
|
32884
32897
|
reactHotLoader.register(AIAnalysisOverlayTool, "AIAnalysisOverlayTool", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
32885
32898
|
reactHotLoader.register(getAIText, "getAIText", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
32886
32899
|
reactHotLoader.register(textBoxAnchorPoints, "textBoxAnchorPoints", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
32900
|
+
reactHotLoader.register(riskTypeDic, "riskTypeDic", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
32887
32901
|
reactHotLoader.register(inspectionTypeDic, "inspectionTypeDic", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
32888
32902
|
reactHotLoader.register(textureDic, "textureDic", "/Users/huyeqing/workspace/chainz/paladin/src/cornerstone-plus/cornerstone-tools-plus/AIAnalysisOverlayTool.js");
|
|
32889
32903
|
})();
|
|
@@ -53975,8 +53989,7 @@ var DicomViewport = /*#__PURE__*/function (_Component) {
|
|
|
53975
53989
|
|
|
53976
53990
|
lodash$1.forEach(aiResult, function (item) {
|
|
53977
53991
|
if (item.seriesUid === seriesInstanceUID) {
|
|
53978
|
-
var centerIndex = lodash$1.toNumber(item.center_Zyx.z);
|
|
53979
|
-
|
|
53992
|
+
var centerIndex = lodash$1.has(item, ['maxSliceIndex']) ? lodash$1.toNumber(item.maxSliceIndex) : lodash$1.toNumber(item.center_Zyx.z);
|
|
53980
53993
|
aiCenter.push({
|
|
53981
53994
|
center: centerIndex,
|
|
53982
53995
|
risk: item.risk
|