SaigeVision C/C++ 1.5.0
SaigeVision API document for C/C++
 
Loading...
Searching...
No Matches
Segmentation's object score

Functions

eErrorType SR_SetSegTestIsToCalcObjectScores (SegTestHandle handle, bool isToCalcObjectScores, bool writeOnModelFile=true)
 Set the boolean indicating whether calculate SR_SegmentedObject::scores or not. More...
 
eErrorType SR_GetSegTestIsToCalcObjectScores (SegTestHandle handle, bool *isToCalcObjectScores)
 Get the boolean indicating whether calculate SR_SegmentedObject::scores or not. More...
 

Detailed Description

검출된 결함에 속한 픽셀들의 점수의 평균, 최소, 최대값을 구하면 그 값이 SR_SegmentedObject::scores 가 됩니다. 최적의 성능을 위해서는 해당 값을 계산하지 않는 것을 추천합니다.

Function Documentation

◆ SR_GetSegTestIsToCalcObjectScores()

eErrorType SR_GetSegTestIsToCalcObjectScores ( SegTestHandle  handle,
bool *  isToCalcObjectScores 
)

Get the boolean indicating whether calculate SR_SegmentedObject::scores or not.

Parameters
handlesegmentation file handler
[out]isToCalcObjectScores

◆ SR_SetSegTestIsToCalcObjectScores()

eErrorType SR_SetSegTestIsToCalcObjectScores ( SegTestHandle  handle,
bool  isToCalcObjectScores,
bool  writeOnModelFile = true 
)

Set the boolean indicating whether calculate SR_SegmentedObject::scores or not.

Parameters
handlesegmentation file handler
isToCalcObjectScores
writeOnModelFileoverwrite on model file or not
Examples
ExampleSegPostProcess.cpp, ExampleSegRuntime.cpp, ExampleSegRuntimeBatchInspection.cpp, ExampleSegRuntimeMultiPage.cpp, and ExampleSuperResolution+SegRuntime.cpp.