Release DetectLymph DetectPanc.
This commit is contained in:
@@ -38,12 +38,18 @@
|
||||
#include "model/DetectKneeXRayResult.h"
|
||||
#include "model/DetectLungNoduleRequest.h"
|
||||
#include "model/DetectLungNoduleResult.h"
|
||||
#include "model/DetectLymphRequest.h"
|
||||
#include "model/DetectLymphResult.h"
|
||||
#include "model/DetectPancRequest.h"
|
||||
#include "model/DetectPancResult.h"
|
||||
#include "model/DetectRibFractureRequest.h"
|
||||
#include "model/DetectRibFractureResult.h"
|
||||
#include "model/DetectSkinDiseaseRequest.h"
|
||||
#include "model/DetectSkinDiseaseResult.h"
|
||||
#include "model/DetectSpineMRIRequest.h"
|
||||
#include "model/DetectSpineMRIResult.h"
|
||||
#include "model/FeedbackSessionRequest.h"
|
||||
#include "model/FeedbackSessionResult.h"
|
||||
#include "model/GetAsyncJobResultRequest.h"
|
||||
#include "model/GetAsyncJobResultResult.h"
|
||||
#include "model/RunCTRegistrationRequest.h"
|
||||
@@ -87,6 +93,12 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DetectLungNoduleResult> DetectLungNoduleOutcome;
|
||||
typedef std::future<DetectLungNoduleOutcome> DetectLungNoduleOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectLungNoduleRequest&, const DetectLungNoduleOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectLungNoduleAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectLymphResult> DetectLymphOutcome;
|
||||
typedef std::future<DetectLymphOutcome> DetectLymphOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectLymphRequest&, const DetectLymphOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectLymphAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectPancResult> DetectPancOutcome;
|
||||
typedef std::future<DetectPancOutcome> DetectPancOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectPancRequest&, const DetectPancOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectPancAsyncHandler;
|
||||
typedef Outcome<Error, Model::DetectRibFractureResult> DetectRibFractureOutcome;
|
||||
typedef std::future<DetectRibFractureOutcome> DetectRibFractureOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectRibFractureRequest&, const DetectRibFractureOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectRibFractureAsyncHandler;
|
||||
@@ -96,6 +108,9 @@ namespace AlibabaCloud
|
||||
typedef Outcome<Error, Model::DetectSpineMRIResult> DetectSpineMRIOutcome;
|
||||
typedef std::future<DetectSpineMRIOutcome> DetectSpineMRIOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::DetectSpineMRIRequest&, const DetectSpineMRIOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> DetectSpineMRIAsyncHandler;
|
||||
typedef Outcome<Error, Model::FeedbackSessionResult> FeedbackSessionOutcome;
|
||||
typedef std::future<FeedbackSessionOutcome> FeedbackSessionOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::FeedbackSessionRequest&, const FeedbackSessionOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> FeedbackSessionAsyncHandler;
|
||||
typedef Outcome<Error, Model::GetAsyncJobResultResult> GetAsyncJobResultOutcome;
|
||||
typedef std::future<GetAsyncJobResultOutcome> GetAsyncJobResultOutcomeCallable;
|
||||
typedef std::function<void(const ImageprocessClient*, const Model::GetAsyncJobResultRequest&, const GetAsyncJobResultOutcome&, const std::shared_ptr<const AsyncCallerContext>&)> GetAsyncJobResultAsyncHandler;
|
||||
@@ -140,6 +155,12 @@ namespace AlibabaCloud
|
||||
DetectLungNoduleOutcome detectLungNodule(const Model::DetectLungNoduleRequest &request)const;
|
||||
void detectLungNoduleAsync(const Model::DetectLungNoduleRequest& request, const DetectLungNoduleAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectLungNoduleOutcomeCallable detectLungNoduleCallable(const Model::DetectLungNoduleRequest& request) const;
|
||||
DetectLymphOutcome detectLymph(const Model::DetectLymphRequest &request)const;
|
||||
void detectLymphAsync(const Model::DetectLymphRequest& request, const DetectLymphAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectLymphOutcomeCallable detectLymphCallable(const Model::DetectLymphRequest& request) const;
|
||||
DetectPancOutcome detectPanc(const Model::DetectPancRequest &request)const;
|
||||
void detectPancAsync(const Model::DetectPancRequest& request, const DetectPancAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectPancOutcomeCallable detectPancCallable(const Model::DetectPancRequest& request) const;
|
||||
DetectRibFractureOutcome detectRibFracture(const Model::DetectRibFractureRequest &request)const;
|
||||
void detectRibFractureAsync(const Model::DetectRibFractureRequest& request, const DetectRibFractureAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectRibFractureOutcomeCallable detectRibFractureCallable(const Model::DetectRibFractureRequest& request) const;
|
||||
@@ -149,6 +170,9 @@ namespace AlibabaCloud
|
||||
DetectSpineMRIOutcome detectSpineMRI(const Model::DetectSpineMRIRequest &request)const;
|
||||
void detectSpineMRIAsync(const Model::DetectSpineMRIRequest& request, const DetectSpineMRIAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
DetectSpineMRIOutcomeCallable detectSpineMRICallable(const Model::DetectSpineMRIRequest& request) const;
|
||||
FeedbackSessionOutcome feedbackSession(const Model::FeedbackSessionRequest &request)const;
|
||||
void feedbackSessionAsync(const Model::FeedbackSessionRequest& request, const FeedbackSessionAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
FeedbackSessionOutcomeCallable feedbackSessionCallable(const Model::FeedbackSessionRequest& request) const;
|
||||
GetAsyncJobResultOutcome getAsyncJobResult(const Model::GetAsyncJobResultRequest &request)const;
|
||||
void getAsyncJobResultAsync(const Model::GetAsyncJobResultRequest& request, const GetAsyncJobResultAsyncHandler& handler, const std::shared_ptr<const AsyncCallerContext>& context = nullptr) const;
|
||||
GetAsyncJobResultOutcomeCallable getAsyncJobResultCallable(const Model::GetAsyncJobResultRequest& request) const;
|
||||
|
||||
@@ -34,7 +34,15 @@ namespace AlibabaCloud
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct DetectionsItem
|
||||
{
|
||||
float calciumVolume;
|
||||
float calciumScore;
|
||||
long calciumId;
|
||||
};
|
||||
std::string score;
|
||||
std::vector<DetectionsItem> detections;
|
||||
std::string volumeScore;
|
||||
std::string resultUrl;
|
||||
};
|
||||
|
||||
@@ -42,12 +50,16 @@ namespace AlibabaCloud
|
||||
CalcCACSResult();
|
||||
explicit CalcCACSResult(const std::string &payload);
|
||||
~CalcCACSResult();
|
||||
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_;
|
||||
|
||||
};
|
||||
}
|
||||
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLymphRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct URLList {
|
||||
std::string uRL;
|
||||
};
|
||||
DetectLymphRequest();
|
||||
~DetectLymphRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::vector<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHREQUEST_H_
|
||||
@@ -0,0 +1,49 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHRESULT_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectLymphResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
DetectLymphResult();
|
||||
explicit DetectLymphResult(const std::string &payload);
|
||||
~DetectLymphResult();
|
||||
|
||||
protected:
|
||||
void parse(const std::string &payload);
|
||||
private:
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTLYMPHRESULT_H_
|
||||
@@ -0,0 +1,51 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectPancRequest : public RpcServiceRequest {
|
||||
public:
|
||||
struct URLList {
|
||||
std::string uRL;
|
||||
};
|
||||
DetectPancRequest();
|
||||
~DetectPancRequest();
|
||||
std::string getDataSourceType() const;
|
||||
void setDataSourceType(const std::string &dataSourceType);
|
||||
std::vector<URLList> getURLList() const;
|
||||
void setURLList(const std::vector<URLList> &uRLList);
|
||||
bool getAsync() const;
|
||||
void setAsync(bool async);
|
||||
|
||||
private:
|
||||
std::string dataSourceType_;
|
||||
std::vector<URLList> uRLList_;
|
||||
bool async_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCREQUEST_H_
|
||||
@@ -0,0 +1,67 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCRESULT_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT DetectPancResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
struct Lesion
|
||||
{
|
||||
std::string pdacVol;
|
||||
std::string pancVol;
|
||||
std::string mask;
|
||||
std::string nonPdacVol;
|
||||
std::vector<std::string> possibilities;
|
||||
};
|
||||
Lesion lesion;
|
||||
};
|
||||
|
||||
|
||||
DetectPancResult();
|
||||
explicit DetectPancResult(const std::string &payload);
|
||||
~DetectPancResult();
|
||||
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_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_DETECTPANCRESULT_H_
|
||||
@@ -0,0 +1,45 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
#include <alibabacloud/core/RpcServiceRequest.h>
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <map>
|
||||
|
||||
namespace AlibabaCloud {
|
||||
namespace Imageprocess {
|
||||
namespace Model {
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT FeedbackSessionRequest : public RpcServiceRequest {
|
||||
public:
|
||||
FeedbackSessionRequest();
|
||||
~FeedbackSessionRequest();
|
||||
std::string getSessionId() const;
|
||||
void setSessionId(const std::string &sessionId);
|
||||
std::string getFeedback() const;
|
||||
void setFeedback(const std::string &feedback);
|
||||
|
||||
private:
|
||||
std::string sessionId_;
|
||||
std::string feedback_;
|
||||
};
|
||||
} // namespace Model
|
||||
} // namespace Imageprocess
|
||||
} // namespace AlibabaCloud
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONREQUEST_H_
|
||||
@@ -0,0 +1,59 @@
|
||||
/*
|
||||
* Copyright 2009-2017 Alibaba Cloud All rights reserved.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
* You may obtain a copy of the License at
|
||||
*
|
||||
* http://www.apache.org/licenses/LICENSE-2.0
|
||||
*
|
||||
* Unless required by applicable law or agreed to in writing, software
|
||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#ifndef ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONRESULT_H_
|
||||
#define ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONRESULT_H_
|
||||
|
||||
#include <string>
|
||||
#include <vector>
|
||||
#include <utility>
|
||||
#include <alibabacloud/core/ServiceResult.h>
|
||||
#include <alibabacloud/imageprocess/ImageprocessExport.h>
|
||||
|
||||
namespace AlibabaCloud
|
||||
{
|
||||
namespace Imageprocess
|
||||
{
|
||||
namespace Model
|
||||
{
|
||||
class ALIBABACLOUD_IMAGEPROCESS_EXPORT FeedbackSessionResult : public ServiceResult
|
||||
{
|
||||
public:
|
||||
struct Data
|
||||
{
|
||||
std::string data;
|
||||
};
|
||||
|
||||
|
||||
FeedbackSessionResult();
|
||||
explicit FeedbackSessionResult(const std::string &payload);
|
||||
~FeedbackSessionResult();
|
||||
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_;
|
||||
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
||||
#endif // !ALIBABACLOUD_IMAGEPROCESS_MODEL_FEEDBACKSESSIONRESULT_H_
|
||||
Reference in New Issue
Block a user