SetCannyThreshold

Sets the canny edge detection thresholds.

Syntax

Definition:

HRESULT SetCannyThreshold(
    LONG nLow = 50,
    LONG nHigh = 100
)

Parameters

Name

Type

Description

nLow

LONG

Low threshold (> 0)

nHigh

LONG

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

SetCannyThreshold 1: Return value

HRESULT