ETcVnFindTemplateWalshOptions

Offers flags to customize template search based on the Walsh transform.

Syntax

Definition:

TYPE ETcVnFindTemplateWalshOptions :
(
    TCVN_FTWO_NONE                 := 0,
    TCVN_FTWO_SKIP_DC              := 2,
    TCVN_FTWO_WD_STOP_CORRECTION   := 256,
    TCVN_FTWO_FUSE_MATCHES         := 512,
    TCVN_FTWO_ROTATED_RECTANGLE    := 1024,
    TCVN_FTWO_MATCH_OPPOSITE_RANGE := 65536
)UDINT;
END_TYPE

Values

Name

Description

TCVN_FTWO_NONE

Do not use any special options.

TCVN_FTWO_SKIP_DC

Skip the DC component during similarity computation. The DC or "direct current" component is the first Walsh component. In contrast to further components, using it for projections captures total pixel intensities and not spatial differences. Therefore, skipping it may improve the robustness to illumination changes.

TCVN_FTWO_WD_STOP_CORRECTION

Use an heuristic to adapt the match threshold in case of watchdog stops

TCVN_FTWO_FUSE_MATCHES

Fuse matches with different rotations and similar locations.

TCVN_FTWO_ROTATED_RECTANGLE

Return the results as a container of type ContainerType_Vector_TcVnRotatedRectangle

TCVN_FTWO_MATCH_OPPOSITE_RANGE

Match with the given rotation angles and the opposite rotation angles (only usable with range-based functions)