Update ScreenChestCT.
This commit is contained in:
@@ -43,6 +43,8 @@ public:
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
std::string getOrgId() const;
|
||||
void setOrgId(const std::string &orgId);
|
||||
long getVerbose() const;
|
||||
void setVerbose(long verbose);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
|
||||
@@ -52,6 +54,7 @@ private:
|
||||
std::string dataFormat_;
|
||||
std::vector<URLList> uRLList_;
|
||||
std::string orgId_;
|
||||
long verbose_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
|
||||
@@ -32,114 +32,15 @@ namespace AlibabaCloud
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT ScreenChestCTResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct LungNodule
|
||||
{
|
||||
struct Serie
|
||||
{
|
||||
struct Element
|
||||
{
|
||||
float imageZ;
|
||||
float imageY;
|
||||
std::string lobe;
|
||||
float imageX;
|
||||
std::string category;
|
||||
std::string lung;
|
||||
float meanValue;
|
||||
float confidence;
|
||||
float volume;
|
||||
float x;
|
||||
float y;
|
||||
float z;
|
||||
std::string sOPInstanceUID;
|
||||
float diameter;
|
||||
};
|
||||
std::vector<std::string> origin;
|
||||
std::string report;
|
||||
std::vector<std::string> spacing;
|
||||
std::vector<Serie::Element> elements;
|
||||
std::string seriesInstanceUid;
|
||||
};
|
||||
std::vector<Serie> series;
|
||||
};
|
||||
struct CACS
|
||||
{
|
||||
std::string score;
|
||||
std::string resultUrl;
|
||||
};
|
||||
struct Covid
|
||||
{
|
||||
std::string newProbability;
|
||||
std::string otherProbability;
|
||||
std::string normalProbability;
|
||||
std::string mask;
|
||||
std::string lesionRatio;
|
||||
};
|
||||
struct DetectRibFracture
|
||||
{
|
||||
struct DetectionsItem
|
||||
{
|
||||
float fractureConfidence;
|
||||
long fractureCategory;
|
||||
std::vector<std::string> coordinateImage;
|
||||
std::vector<std::string> coordinates;
|
||||
std::string fractureLocation;
|
||||
long fractureSegment;
|
||||
long fractureId;
|
||||
};
|
||||
std::vector<std::string> origin2;
|
||||
std::vector<std::string> spacing1;
|
||||
std::vector<DetectionsItem> detections;
|
||||
std::string resultURL;
|
||||
};
|
||||
struct AnalyzeChestVessel
|
||||
{
|
||||
struct AortaInfo
|
||||
{
|
||||
float maxArea;
|
||||
std::vector<std::string> area;
|
||||
float maxDiameter;
|
||||
long labelValue;
|
||||
std::vector<std::string> coordinates3;
|
||||
long maxAreaIndex;
|
||||
};
|
||||
struct PulmonaryInfo
|
||||
{
|
||||
float maxArea;
|
||||
std::vector<std::string> area5;
|
||||
float maxDiameter;
|
||||
long labelValue;
|
||||
std::vector<std::string> coordinates4;
|
||||
long maxAreaIndex;
|
||||
float nearestAortaArea;
|
||||
};
|
||||
PulmonaryInfo pulmonaryInfo;
|
||||
AortaInfo aortaInfo;
|
||||
std::string resultURL;
|
||||
};
|
||||
LungNodule lungNodule;
|
||||
CACS cACS;
|
||||
Covid covid;
|
||||
AnalyzeChestVessel analyzeChestVessel;
|
||||
DetectRibFracture detectRibFracture;
|
||||
std::string errorMessage;
|
||||
};
|
||||
|
||||
|
||||
ScreenChestCTResult();
|
||||
explicit ScreenChestCTResult(const std::string &payload);
|
||||
~ScreenChestCTResult();
|
||||
std::string getMessage()const;
|
||||
Data getData()const;
|
||||
std::string getCode()const;
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
std::string message_;
|
||||
Data data_;
|
||||
std::string code_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user