Functions | |
| eErrorType | SR_ApplySegTestFromImageFile (SegTestHandle handle, const char *imagePath, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to image by file path. More... | |
| eErrorType | SR_ApplySegTestFromImageFileByWideCharPath (SegTestHandle handle, const wchar_t *imagePath, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to image by file path. More... | |
| eErrorType | SR_ApplySegTestFrom8bitCharGrayArray (SegTestHandle handle, const unsigned char *imageData, const int height, const int width, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to 1-channel image by 8-bit data. More... | |
| eErrorType | SR_ApplySegTestFrom8bitCharColorArray (SegTestHandle handle, const unsigned char *imageData, const int height, const int width, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to 3-channels(BGR) image by 8-bit data. More... | |
| eErrorType | SR_ApplySegTestFromUnsignedIntColorArray (SegTestHandle handle, const unsigned int *imageData, const int height, const int width, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to 4-channels(BGRA) image by 8-bit data. More... | |
| eErrorType | SR_ApplySegTestFrom16bitCharGrayArray (SegTestHandle handle, const unsigned char *imageData, const int height, const int width, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to 1-channel image by 16-bit data. More... | |
| eErrorType | SR_ApplySegTestFrom16bitCharColorArray (SegTestHandle handle, const unsigned char *imageData, const int height, const int width, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to 3-channels(BGR) image by 16-bit data. More... | |
| eErrorType | SR_ApplySegTestFrom16bitUnsignedIntColorArray (SegTestHandle handle, const unsigned int *imageData, const int height, const int width, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to 4-channels(BGRA) image by 16-bit data. More... | |
| eErrorType | SR_ApplySegTestFromMultiple8bitCharGrayArrays (SegTestHandle handle, int numberOfImages, unsigned char **imageData, int *heights, int *widths, SegTestResult *segTestResults, int flag) |
| Apply segmentation algorithm to 1-channel images by 8-bit data (Batch inspection mode). More... | |
| eErrorType | SR_ApplySegTestFromMultiple8bitCharColorArrays (SegTestHandle handle, int numberOfImages, unsigned char **imageData, int *heights, int *widths, SegTestResult *segTestResults, int flag) |
| Apply segmentation algorithm to 3-channels(BGR) images by 8-bit data (Batch inspection mode). More... | |
| eErrorType | SR_ApplySegTestFromMultipleUnsignedIntColorArrays (SegTestHandle handle, int numberOfImages, unsigned int **imageData, int *heights, int *widths, SegTestResult *segTestResults, int flag) |
| Apply segmentation algorithm to 4-channels(BGRA) images by 8-bit data (Batch inspection mode). More... | |
| eErrorType | SR_ApplySegTestFromMultiPage8bitCharArrays (SegTestHandle handle, int numOfPages, unsigned char **imageData, int height, int width, int *channels, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to multi-page image by 8-bit data (multi-page). More... | |
| eErrorType | SR_ApplySegTestFromMultiPageImageFileByWideCharPath (SegTestHandle handle, int numOfPages, const wchar_t **imagePaths, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to multi-page image by file path (multi-page). More... | |
| eErrorType | SR_ApplySegTestFromMultiPageImageFileByMultiByteCharPath (SegTestHandle handle, int numOfPages, const char **imagePaths, SegTestResult segTestResult, int flag) |
| Apply segmentation algorithm to multi-page image by file path (multi-page). More... | |
| eErrorType | SR_ApplySegTestFromDetectedBoxes (SegTestHandle handle, int numberOfBoxes, SR_DetectedBox *detectedBoxes, SegTestResult *segTestResults, int flag) |
| Apply segmentation algorithm to SR_DetectedBox::croppedImage. More... | |
Inspect images by applying Saige Vision's segmentation algorithms.
Images can be file path or data array.
Segmentation offers Batch inspection mode which is to inspect multiple images at once.
| eErrorType SR_ApplySegTestFrom16bitCharColorArray | ( | SegTestHandle | handle, |
| const unsigned char * | imageData, | ||
| const int | height, | ||
| const int | width, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 3-channels(BGR) image by 16-bit data.
| handle | segmentation file handler | |
| imageData | ||
| height | ||
| width | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFrom16bitCharGrayArray | ( | SegTestHandle | handle, |
| const unsigned char * | imageData, | ||
| const int | height, | ||
| const int | width, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 1-channel image by 16-bit data.
| handle | segmentation file handler | |
| imageData | ||
| height | ||
| width | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFrom16bitUnsignedIntColorArray | ( | SegTestHandle | handle, |
| const unsigned int * | imageData, | ||
| const int | height, | ||
| const int | width, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 4-channels(BGRA) image by 16-bit data.
| handle | segmentation file handler | |
| imageData | ||
| height | ||
| width | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFrom8bitCharColorArray | ( | SegTestHandle | handle, |
| const unsigned char * | imageData, | ||
| const int | height, | ||
| const int | width, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 3-channels(BGR) image by 8-bit data.
| handle | segmentation file handler | |
| imageData | ||
| height | ||
| width | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFrom8bitCharGrayArray | ( | SegTestHandle | handle, |
| const unsigned char * | imageData, | ||
| const int | height, | ||
| const int | width, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 1-channel image by 8-bit data.
| handle | segmentation file handler | |
| imageData | ||
| height | ||
| width | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromDetectedBoxes | ( | SegTestHandle | handle, |
| int | numberOfBoxes, | ||
| SR_DetectedBox * | detectedBoxes, | ||
| SegTestResult * | segTestResults, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to SR_DetectedBox::croppedImage.
| handle | segmentation file handler | |
| numberOfBoxes | ||
| detectedBoxes | ||
| [out] | segTestResults | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromImageFile | ( | SegTestHandle | handle, |
| const char * | imagePath, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to image by file path.
| handle | segmentation file handler | |
| imagePath | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromImageFileByWideCharPath | ( | SegTestHandle | handle, |
| const wchar_t * | imagePath, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to image by file path.
| handle | segmentation file handler | |
| imagePath | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromMultiPage8bitCharArrays | ( | SegTestHandle | handle, |
| int | numOfPages, | ||
| unsigned char ** | imageData, | ||
| int | height, | ||
| int | width, | ||
| int * | channels, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to multi-page image by 8-bit data (multi-page).
| handle | segmentation file handler | |
| numOfPages | ||
| imageData | ||
| height | ||
| width | ||
| channels | memory address holding the number of channels for each page. The length of memory must be equal to numOfPages | |
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromMultiPageImageFileByMultiByteCharPath | ( | SegTestHandle | handle, |
| int | numOfPages, | ||
| const char ** | imagePaths, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to multi-page image by file path (multi-page).
| handle | segmentation file handler | |
| numOfPages | ||
| imagePaths | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromMultiPageImageFileByWideCharPath | ( | SegTestHandle | handle, |
| int | numOfPages, | ||
| const wchar_t ** | imagePaths, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to multi-page image by file path (multi-page).
| handle | segmentation file handler | |
| numOfPages | ||
| imagePaths | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromMultiple8bitCharColorArrays | ( | SegTestHandle | handle, |
| int | numberOfImages, | ||
| unsigned char ** | imageData, | ||
| int * | heights, | ||
| int * | widths, | ||
| SegTestResult * | segTestResults, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 3-channels(BGR) images by 8-bit data (Batch inspection mode).
| handle | segmentation file handler | |
| numberOfImages | ||
| imageData | ||
| heights | ||
| widths | ||
| [out] | segTestResults | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromMultiple8bitCharGrayArrays | ( | SegTestHandle | handle, |
| int | numberOfImages, | ||
| unsigned char ** | imageData, | ||
| int * | heights, | ||
| int * | widths, | ||
| SegTestResult * | segTestResults, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 1-channel images by 8-bit data (Batch inspection mode).
| handle | segmentation file handler | |
| numberOfImages | ||
| imageData | ||
| heights | ||
| widths | ||
| [out] | segTestResults | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromMultipleUnsignedIntColorArrays | ( | SegTestHandle | handle, |
| int | numberOfImages, | ||
| unsigned int ** | imageData, | ||
| int * | heights, | ||
| int * | widths, | ||
| SegTestResult * | segTestResults, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 4-channels(BGRA) images by 8-bit data (Batch inspection mode).
| handle | segmentation file handler | |
| numberOfImages | ||
| imageData | ||
| heights | ||
| widths | ||
| [out] | segTestResults | |
| flag | eSegTestOutputType |
| eErrorType SR_ApplySegTestFromUnsignedIntColorArray | ( | SegTestHandle | handle, |
| const unsigned int * | imageData, | ||
| const int | height, | ||
| const int | width, | ||
| SegTestResult | segTestResult, | ||
| int | flag | ||
| ) |
Apply segmentation algorithm to 4-channels(BGRA) image by 8-bit data.
| handle | segmentation file handler | |
| imageData | ||
| height | ||
| width | ||
| [out] | segTestResult | |
| flag | eSegTestOutputType |