Functions | |
| eErrorType | SR_SetSegTestIsToCalcAverageColor (SegTestHandle handle, bool isToCalcAverageColors, bool writeOnModelFile=true) |
| Set the boolean indicating whether calculate SR_SegmentedObject::averageColor or not. More... | |
| eErrorType | SR_GetSegTestIsToCalcAverageColor (SegTestHandle handle, bool *isToCalcAverageColors) |
| Get the boolean indicating whether calculate SR_SegmentedObject::averageColor or not. More... | |
SR_SegmentedObject::averageColor is the average color of pixels in SR_SegmentedObject. For optimal performance, we recommend 'not' to calculate the values.
| eErrorType SR_GetSegTestIsToCalcAverageColor | ( | SegTestHandle | handle, |
| bool * | isToCalcAverageColors | ||
| ) |
Get the boolean indicating whether calculate SR_SegmentedObject::averageColor or not.
| handle | segmentation file handler | |
| [out] | isToCalcAverageColors |
| eErrorType SR_SetSegTestIsToCalcAverageColor | ( | SegTestHandle | handle, |
| bool | isToCalcAverageColors, | ||
| bool | writeOnModelFile = true |
||
| ) |
Set the boolean indicating whether calculate SR_SegmentedObject::averageColor or not.
| handle | segmentation file handler |
| isToCalcAverageColors | |
| writeOnModelFile | overwrite on model file or not |