ETcVnFindRoisMethod

Offers ROI extraction methods.

Syntax

Definition:

enum ETcVnFindRoisMethod : ULONG
{
    FRM_GRID                = 0,
    FRM_CONNECTEDCOMPONENTS = 1
};

Values

Name

Description

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.

FRM_CONNECTEDCOMPONENTS

Extracts ROIs using connected-component analysis. The binary image is dilated to bridge nearby components, and then labeled.