ETcVnFindRoisMethod
Offers ROI extraction methods.
Syntax
Definition:
TYPE ETcVnFindRoisMethod :
(
TCVN_FRM_GRID := 0,
TCVN_FRM_CONNECTEDCOMPONENTS := 1
)UDINT;
END_TYPEValues
|
Name |
Description |
|---|---|
|
TCVN_FRM_GRID |
Extracts ROIs by laying a regular grid of stRoiSize cells (see TcVnParamsFindRois) over the image and keeping only cells that contain sufficient texture. This method supports both binary and grayscale images. |
|
TCVN_FRM_CONNECTEDCOMPONENTS |
Extracts ROIs using connected-component analysis. The binary image is dilated to bridge nearby components, and then labeled. |