Update ScreenChestCT CalcCACS.
This commit is contained in:
@@ -36,6 +36,7 @@ namespace AlibabaCloud
|
||||
{
|
||||
struct DetectionsItem
|
||||
{
|
||||
std::vector<std::string> calciumCenter;
|
||||
float calciumVolume;
|
||||
float calciumScore;
|
||||
long calciumId;
|
||||
|
||||
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user