FindRois
Extracts rectangular regions of interest (ROIs) from an image by partitioning it into tiles using the selected method and parameters.
Syntax
Definition:
HRESULT FindRois(
HRESULT hrPrev,
ITcVnImage* ipSrcImage,
ITcVnContainer*& ipRois,
ETcVnFindRoisMethod eFindRoisMethod,
TcVnParamsFindRois& stParams
)Parameters
|
Name |
Type |
Description |
|---|---|---|
|
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) | |
|
ipSrcImage |
Source image (1 channel, non-negative values). | |
|
ipRois |
Returns the ROIs (ContainerType_Vector_TcVnRectangle_DINT; Non-zero interface pointers are reused.) | |
|
eFindRoisMethod |
Method to create ROIs | |
|
stParams |
Parameters for extracting ROIs |
Required License
TC3 Vision Base
System Requirements
|
Development environment |
Target platform |
PLC libraries to include |
|---|---|---|
|
TwinCAT V3.1.4026 or later |
PC or CX (x64) with min. PL50, e.g. Intel 4-core Atom CPU |
Tc3_Vision |