SetCannyThreshold

SetCannyThreshold 1:

Sets the canny edge detection thresholds.

Syntax

Definition:

METHOD SetCannyThreshold : HRESULT
VAR_INPUT
    nLow  : DINT;
    nHigh : DINT;
END_VAR

SetCannyThreshold 2: Inputs

Name

Type

Description

nLow

DINT

Low threshold (> 0)

nHigh

DINT

High threshold (> nLow, usually 2 to 3 * nLow)

SetCannyThreshold 3: Return value

HRESULT