 |
SaigeVision C/C++
1.4.7
SaigeVision API document for C/C++
|
|
Go to the documentation of this file.
7 #define DLLTYPE_SUPER_RESOLUTION
9 #ifdef DLLEXPORT_SUPER_RESOLUTION
10 #define DLLTYPE_SUPER_RESOLUTION extern "C" __declspec(dllexport)
12 #define DLLTYPE_SUPER_RESOLUTION extern "C" __declspec(dllimport)
99 const char* imagePath,
107 const wchar_t* imagePath,
115 const unsigned char* imageData,
125 const unsigned char* imageData,
135 const unsigned int* imageData,
148 unsigned char* resultImage);
157 long* inferenceTimeInLong
167 long* imageLoadingTimeInLong
177 int* height,
int* width);
eErrorType SR_ApplySupResTestFromUnsignedIntColorArray(SupResTestHandle handle, const unsigned int *imageData, const int height, const int width, SupResTestResult result)
SupResTestHandle 을 이용하여 초해상화를 수행합니다.
eErrorType SR_ApplySupResTestFrom8bitCharColorArray(SupResTestHandle handle, const unsigned char *imageData, const int height, const int width, SupResTestResult result)
SupResTestHandle 을 이용하여 초해상화를 수행합니다.
eErrorType SR_GetSupResTestResultImage(SupResTestResult superResolutionResult, unsigned char *resultImage)
Get a result image of super resolution.
void * SupResTestResult
Super resolution results handler.
Definition: SuperResolutionTestDLL.h:58
eErrorType SR_ApplySupResTestFromImageFileByWideCharPath(SupResTestHandle handle, const wchar_t *imagePath, SupResTestResult result)
SupResTestHandle 을 이용하여 초해상화를 수행합니다.
eErrorType SR_SetROIInfoFromSeg(SupResTestHandle handle, SegTestHandleForSupRes srcHandle)
SegTestHandleForSupRes 로부터 ROI 정보를 받아 SupResTestHandle에 설정합니다.
eErrorType SR_DeleteSupResTestResult(SupResTestResult result)
Destruct a SupResTestResult.
eErrorType SR_ApplySupResTestFromImageFile(SupResTestHandle handle, const char *imagePath, SupResTestResult result)
SupResTestHandle 을 이용하여 초해상화를 수행합니다.
eErrorType SR_DestroySupResTestHandle(SupResTestHandle handle)
SupResTestHandle 을 소멸합니다.
void * SegTestHandleForSupRes
Segmentation file handler for super resolution.
Definition: SuperResolutionTestDLL.h:33
eErrorType SR_GetSupResTestInferenceTime(SupResTestResult superResolutionResult, long *inferenceTimeInLong)
Get the inference time.
SupResTestHandle SR_CreateSupResTestHandleByWideCharPath(const wchar_t *filePath)
SupResTestHandle 을 생성합니다.
void * SupResTestHandle
Super resolution handler.
Definition: SuperResolutionTestDLL.h:44
SupResTestResult SR_MakeSupResTestResult()
SupResTestResult 를 생성합니다.
eErrorType SR_GetSupResTestResultImageSize(SupResTestResult superResolutionResult, int *height, int *width)
Get a size of result image of super resolution.
eErrorType SR_GetSupResTestLoadImageTime(SupResTestResult superResolutionResult, long *imageLoadingTimeInLong)
Get the image loading time.
eErrorType SR_LoadSupResTestNetworkInGPU(SupResTestHandle handle, int gpuIndexNvml, int batchSize=1)
GPU에 네트워크를 위한 메모리를 할당하고 로드합니다.
eErrorType SR_ApplySupResTestFrom8bitCharGrayArray(SupResTestHandle handle, const unsigned char *imageData, const int height, const int width, SupResTestResult result)
SupResTestHandle 을 이용하여 초해상화를 수행합니다.