Contrast Property

NI Vision for Visual Basic

Contrast Property

Syntax

CWIMAQEdgeOptions.Contrast

Data Type

Long

Purpose

Threshold for the contrast of the edge.

Remarks

Only edges with a contrast greater than this value are used in the detection process. Contrast is defined as the difference between the average pixel intensity before the edge and the average pixel intensity after the edge.