ETcVnContourRetrievalMode

Offers retrieval modes for a contour search.

Syntax

Definition:

enum ETcVnContourRetrievalMode : LONG
{
    CRM_EXTERNAL             = 0,
    CRM_LIST                 = 1,
    CRM_CONNECTED_COMPONENTS = 2,
    CRM_TREE                 = 3,
    CRM_FLOODFILL            = 4
};

Values

Name

Description

CRM_EXTERNAL

Returns only external contours.

CRM_LIST

Returns all found contours, not considering their hierarchy.

CRM_CONNECTED_COMPONENTS

Returns all contours with a 2-level hierarchy (External contours are assigned level 0, internal contours level 1).

CRM_TREE

Returns all contours and their full hierarchy.

CRM_FLOODFILL

Returns the found contours using a floodfill algorithm (only available for DINT images).