|
| eErrorType | SR_GetSegTestOutputMatrixSizeInfo (SegTestResult segTestResult, int *scoreMatrixChannel, int *scoreMatrixSize) |
| | Get the size of Score matrix. More...
|
| |
| eErrorType | SR_GetSegTestOutputMatrix (SegTestResult segTestResult, int scoreMatrixSize, unsigned char *scoreMatrixData) |
| | Get Score matrix. More...
|
| |
| eErrorType | SR_GetSegTestROI (SegTestResult segTestResult, int *xROI, int *yROI, int *wROI, int *hROI) |
| | Get ROI. More...
|
| |
| eErrorType | SR_GetSegTestNumberOfSegmentedObjects (SegTestResult segTestResult, int *numberOfSegmentedObjects) |
| | Get the number of SR_SegmentedObject. More...
|
| |
| eErrorType | SR_GetSegTestSegmentedObjects (SegTestResult segTestResult, SR_SegmentedObject *segmentedObjects) |
| | Get SR_SegmentedObject s. More...
|
| |
| eErrorType | SR_GetSegTestNumberOfDeletedObjects (SegTestResult segTestResult, int *numberOfDeletedObjects) |
| | Get the number of deleted SR_SegmentedObject s by filter process Segmentation's area threshold. More...
|
| |
| eErrorType | SR_GetSegTestDeletedObjects (SegTestResult segTestResult, SR_SegmentedObject *deletedObjects) |
| | Get deleted SR_SegmentedObject s by filter process Segmentation's area threshold. More...
|
| |
| eErrorType | SR_GetSegTestResultOriginalImageSize (SegTestResult segTestResult, int *width, int *height) |
| | Get the size of inspected image. More...
|
| |
| eErrorType | SR_GetSegTestInspectionTime (SegTestResult segTestResult, long *inspectionTimeInLong) |
| | Get the inspection time. More...
|
| |
| eErrorType | SR_GetSegTestInspectionTimeInDouble (SegTestResult segTestResult, double *inspectionTimeInDouble) |
| | Get the inspection time. More...
|
| |
| eErrorType | SR_GetSegTestLoadImageTime (SegTestResult segTestResult, long *imageLoadingTimeInLong) |
| | Get the image loading time. More...
|
| |
| eErrorType | SR_GetSegTestLoadImageTimeInDouble (SegTestResult segTestResult, double *imageLoadingTimeInDouble) |
| | Get the image loading time. More...
|
| |
Segmentation's inspection result consist of two outputs.
- Score matrix
- SR_SegmentedObject
int width, height;
int nChannel = 0;
int scoreMatrixSize = 0;
unsigned char* scoreMatrix = new unsigned char[scoreMatrixSize];
unsigned char score = scoreMatrix[i_c * width * height + i_h * width + i_w];
delete[] scoreMatrix;
int numSegmentedObject = 0;
◆ SR_GetSegTestDeletedObjects()
◆ SR_GetSegTestInspectionTime()
◆ SR_GetSegTestInspectionTimeInDouble()
Get the inspection time.
- Parameters
-
| segTestResult | |
| [out] | inspectionTimeInDouble | |
◆ SR_GetSegTestLoadImageTime()
◆ SR_GetSegTestLoadImageTimeInDouble()
Get the image loading time.
- Parameters
-
| segTestResult | |
| [out] | imageLoadingTimeInDouble | |
◆ SR_GetSegTestNumberOfDeletedObjects()
◆ SR_GetSegTestNumberOfSegmentedObjects()
◆ SR_GetSegTestOutputMatrix()
| eErrorType SR_GetSegTestOutputMatrix |
( |
SegTestResult |
segTestResult, |
|
|
int |
scoreMatrixSize, |
|
|
unsigned char * |
scoreMatrixData |
|
) |
| |
◆ SR_GetSegTestOutputMatrixSizeInfo()
| eErrorType SR_GetSegTestOutputMatrixSizeInfo |
( |
SegTestResult |
segTestResult, |
|
|
int * |
scoreMatrixChannel, |
|
|
int * |
scoreMatrixSize |
|
) |
| |
◆ SR_GetSegTestResultOriginalImageSize()
◆ SR_GetSegTestROI()
Get ROI.
- Parameters
-
| segTestResult | |
| [out] | xROI | |
| [out] | yROI | |
| [out] | wROI | |
| [out] | hROI | |
◆ SR_GetSegTestSegmentedObjects()