Functions | |
| eErrorType | SR_GetSegTestMinPixelSizeThresholdWithoutBG (SegTestHandle handle, int *areaThreshold) |
| Get Segmentation's area threshold for each class. More... | |
| eErrorType | SR_SetSegTestMinPixelSizeThresholdWithoutBG (SegTestHandle handle, int numOfClasses, int *areaThreshold, bool writeOnModelFile=true) |
| Set Segmentation's area threshold for each class. More... | |
| eErrorType | SR_GetSegTestModeOfFilteringByPixelSize (SegTestHandle handle, eModeOfPixelSizeFilter *modeOfFiltering) |
| Get the mode of filtering by Segmentation's area threshold. More... | |
| eErrorType | SR_SetSegTestModeOfFilteringByPixelSize (SegTestHandle handle, eModeOfPixelSizeFilter modeOfFiltering, bool writeOnModelFile=true) |
| Set the mode of filtering by Segmentation's area threshold. More... | |
Segmentation's Area threshold
Area threshold 값보다 작은 면적을 가지는 결함 (SR_SegmentedObject) 은 필터링되어 SR_GetSegTestSegmentedObjects 함수를 통해 받아오지 않습니다.
| eErrorType SR_GetSegTestMinPixelSizeThresholdWithoutBG | ( | SegTestHandle | handle, |
| int * | areaThreshold | ||
| ) |
Get Segmentation's area threshold for each class.
| handle | segmentation file handler | |
| [out] | areaThreshold | memory address receiving area threshold. The length of memory must be equal to number of classes |
| eErrorType SR_GetSegTestModeOfFilteringByPixelSize | ( | SegTestHandle | handle, |
| eModeOfPixelSizeFilter * | modeOfFiltering | ||
| ) |
Get the mode of filtering by Segmentation's area threshold.
| handle | segmentation file handler | |
| [out] | modeOfFiltering | memory address receiving mode of filtering. |
| eErrorType SR_SetSegTestMinPixelSizeThresholdWithoutBG | ( | SegTestHandle | handle, |
| int | numOfClasses, | ||
| int * | areaThreshold, | ||
| bool | writeOnModelFile = true |
||
| ) |
Set Segmentation's area threshold for each class.
| handle | segmentation file handler |
| numOfClasses | number of classes |
| areaThreshold | memory address holding area threshold. The length of memory must be equal to numOfClasses |
| writeOnModelFile | overwrite on model file or not |
| eErrorType SR_SetSegTestModeOfFilteringByPixelSize | ( | SegTestHandle | handle, |
| eModeOfPixelSizeFilter | modeOfFiltering, | ||
| bool | writeOnModelFile = true |
||
| ) |
Set the mode of filtering by Segmentation's area threshold.
| handle | segmentation file handler |
| modeOfFiltering | |
| writeOnModelFile | overwrite on model file or not |