Update DetectLungNodule.

This commit is contained in:
sdk-team
2020-10-23 06:45:18 +00:00
parent e5ea19cdfb
commit 8f6d6d4d1d
3 changed files with 6 additions and 0 deletions

View File

@@ -1,3 +1,6 @@
2020-10-23 Version: patch
- Update DetectLungNodule.
2020-10-23 Version: patch
- Support feedback.

View File

@@ -48,6 +48,7 @@ namespace AlibabaCloud
float x;
float y;
float z;
std::string sOPInstanceUID;
float diameter;
};
std::vector<std::string> origin;

View File

@@ -72,6 +72,8 @@ void DetectLungNoduleResult::parse(const std::string &payload)
elementsObject.imageY = std::stof(allSeriesNodeElementsElement["ImageY"].asString());
if(!allSeriesNodeElementsElement["ImageZ"].isNull())
elementsObject.imageZ = std::stof(allSeriesNodeElementsElement["ImageZ"].asString());
if(!allSeriesNodeElementsElement["SOPInstanceUID"].isNull())
elementsObject.sOPInstanceUID = allSeriesNodeElementsElement["SOPInstanceUID"].asString();
serieObject.elements.push_back(elementsObject);
}
auto allOrigin = value["Origin"]["Origin"];