Functions | |
| eErrorType | SR_GetSegTestMinScoreThresholdWithoutBG (SegTestHandle handle, int *scoreThreshold) |
| Get Segmentation's score threshold for each class. More... | |
| eErrorType | SR_SetSegTestMinScoreThresholdWithoutBG (SegTestHandle handle, int numOfClasses, int *scoreThreshold, bool writeOnModelFile=true) |
| Set Segmentation's score threshold for each class. More... | |
Segmentation's Score threshold
Before determine the class of each pixel, pixel scores per each channel(class) which do not exceed the score-threshold(0-255) are set to 0. The length of Segmentation's score threshold is equal to the number of classes. Users can set different Segmentation's score threshold for each class. The default value is the last value set in the Saige Vision software, and is set to 100 if it has not been changed.
| eErrorType SR_GetSegTestMinScoreThresholdWithoutBG | ( | SegTestHandle | handle, |
| int * | scoreThreshold | ||
| ) |
Get Segmentation's score threshold for each class.
| handle | segmentation file handler | |
| [out] | scoreThreshold | memory address receiving score thresholds. The length of memory must be equal to number of classes |
| eErrorType SR_SetSegTestMinScoreThresholdWithoutBG | ( | SegTestHandle | handle, |
| int | numOfClasses, | ||
| int * | scoreThreshold, | ||
| bool | writeOnModelFile = true |
||
| ) |
Set Segmentation's score threshold for each class.
| handle | segmentation file handler |
| numOfClasses | number of classes |
| scoreThreshold | memory address holding score thresholds. The length of memory must be equal to numOfClasses |
| writeOnModelFile | overwrite on model file or not |