SaigeVision C/C++  1.4.7
SaigeVision API document for C/C++
SegPostProcessFunctionsDLL.h File Reference

Header file for segmentation post process module. More...

Go to the source code of this file.

Classes

struct  SR_SegPostProcessAngleDetection
 Struct describing features of outputs of angle detector. More...
 

Typedefs

typedef void * SegPostProcessHandle
 

Enumerations

enum  eSegPostProcessType
 Segmentation post process target cell type.
 

Functions

SegPostProcessHandle SR_CreateSegPostProcessHandle (eSegPostProcessType segPostProcessType, SR_SegPostProcessOptions segPostProcessOptions)
 SegPostProcessHandle 을 생성합니다. More...
 
eErrorType SR_DestroySegPostProcessHandle (SegPostProcessHandle handle)
 SegPostProcessHandle 을 소멸합니다.
 
eErrorType SR_UseImageDataFromImageFile (SegPostProcessHandle handle, const char *imagePath)
 후처리 알고리즘에 사용되는 이미지 데이터를 이미지 경로로 설정합니다.
 
eErrorType SR_UseImageDataFromImageFileByWideCharPath (SegPostProcessHandle handle, const wchar_t *imagePath)
 후처리 알고리즘에 사용되는 이미지 데이터를 이미지 경로로 설정합니다.
 
eErrorType SR_UseImageDataFrom8bitCharGrayArray (SegPostProcessHandle handle, const unsigned char *imageData, const int height, const int width)
 후처리 알고리즘에 사용되는 이미지 데이터를 1-channel 8-bit 배열로 설정합니다.
 
eErrorType SR_UseImageDataFrom8bitCharColorArray (SegPostProcessHandle handle, const unsigned char *imageData, const int height, const int width)
 후처리 알고리즘에 사용되는 이미지 데이터를 3-channel 8-bit 배열로 설정합니다.
 
eErrorType SR_UseImageDataFromUnsignedIntColorArray (SegPostProcessHandle handle, const unsigned int *imageData, const int height, const int width)
 후처리 알고리즘에 사용되는 이미지 데이터를 4-channel 8-bit 배열로 설정합니다.
 
eErrorType SR_UseImageDataFrom16bitCharGrayArray (SegPostProcessHandle handle, const unsigned char *imageData, const int height, const int width)
 후처리 알고리즘에 사용되는 이미지 데이터를 1-channel 16-bit 배열로 설정합니다.
 
eErrorType SR_UseImageDataFrom16bitCharColorArray (SegPostProcessHandle handle, const unsigned char *imageData, const int height, const int width)
 후처리 알고리즘에 사용되는 이미지 데이터를 3-channel 16-bit 배열로 설정합니다.
 
eErrorType SR_UseImageDataFrom16bitUnsignedIntColorArray (SegPostProcessHandle handle, const unsigned int *imageData, const int height, const int width)
 후처리 알고리즘에 사용되는 이미지 데이터를 4-channel 16-bit 배열로 설정합니다.
 
eErrorType SR_SegRunPostProcessBySegmentedObjects (SegPostProcessHandle handle, int nSegObjects, SR_SegmentedObject *segObjects)
 SR_SegmentedObject 를 이용하여 후처리를 수행합니다.
 
eErrorType SR_SegRunPostProcessByTestResultHandle (SegPostProcessHandle handle, SegTestResult segResult)
 SegTestResult 를 이용하여 후처리를 수행합니다.
 
eErrorType SR_SegPostProcessGetNumberOfSkeletons (SegPostProcessHandle handle, int *numberOfSkeletonsOut)
 후처리 결과로 검출된 스켈레톤의 개수를 받아옵니다.
 
eErrorType SR_SegPostProcessGetSkeletons (SegPostProcessHandle handle, SR_SegPostProcessSkeleton *skeletonsOut)
 후처리 결과로 검출된 스켈레톤 정보를 받아옵니다.
 
eErrorType SR_SegPostProcessFindAngleAndCenter (DetTestHandle handle, SR_DetectedBox *box, int numSegmentedObject, SR_SegmentedObject *segObjects, SR_SegPostProcessAngleDetection *angleObject)
 Convert SR_DetectedBox to SR_SegPostProcessAngleDetection.
 

Detailed Description

Header file for segmentation post process module.

Typedef Documentation

◆ SegPostProcessHandle

Function Documentation

◆ SR_CreateSegPostProcessHandle()

SegPostProcessHandle SR_CreateSegPostProcessHandle ( eSegPostProcessType  segPostProcessType,
SR_SegPostProcessOptions  segPostProcessOptions 
)

SegPostProcessHandle 을 생성합니다.

Warning
SegPostProcessHandle 은 후처리가 끝난 후 SR_DestroySegPostProcessHandle 로 소멸되어야 합니다.
Examples
ExampleSegPostProcess.cpp.