From 720c4910dd0414991d6cdae59a869a8dc90afb52 Mon Sep 17 00:00:00 2001 From: sdk-team Date: Mon, 20 Jun 2022 10:03:15 +0000 Subject: [PATCH] Update ScreenChestCT CalcCACS. --- CHANGELOG | 3 +++ VERSION | 2 +- .../include/alibabacloud/imageprocess/model/CalcCACSResult.h | 1 + imageprocess/src/model/CalcCACSResult.cc | 3 +++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index d96c807ed..68517c3aa 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,6 @@ +2022-06-20 Version: 1.36.1151 +- Update ScreenChestCT CalcCACS. + 2022-06-20 Version: 1.36.1150 - Update MakeSuperResolutionImage. diff --git a/VERSION b/VERSION index 421016bac..2eb48fb73 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.36.1150 \ No newline at end of file +1.36.1151 \ No newline at end of file diff --git a/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSResult.h b/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSResult.h index 9d3b14bd9..c46ac5c37 100644 --- a/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSResult.h +++ b/imageprocess/include/alibabacloud/imageprocess/model/CalcCACSResult.h @@ -36,6 +36,7 @@ namespace AlibabaCloud { struct DetectionsItem { + std::vector calciumCenter; float calciumVolume; float calciumScore; long calciumId; diff --git a/imageprocess/src/model/CalcCACSResult.cc b/imageprocess/src/model/CalcCACSResult.cc index 580688df5..87c0bd717 100644 --- a/imageprocess/src/model/CalcCACSResult.cc +++ b/imageprocess/src/model/CalcCACSResult.cc @@ -56,6 +56,9 @@ void CalcCACSResult::parse(const std::string &payload) detectionsItemObject.calciumScore = std::stof(dataNodeDetectionsdetectionsItem["CalciumScore"].asString()); if(!dataNodeDetectionsdetectionsItem["CalciumVolume"].isNull()) detectionsItemObject.calciumVolume = std::stof(dataNodeDetectionsdetectionsItem["CalciumVolume"].asString()); + auto allCalciumCenter = value["CalciumCenter"]["calciumCenter"]; + for (auto value : allCalciumCenter) + detectionsItemObject.calciumCenter.push_back(value.asString()); data_.detections.push_back(detectionsItemObject); } if(!value["Code"].isNull())