Contrast Property

NI Vision for Visual Basic

Contrast Property

Syntax

CWMVCommonEdgeOptions.Contrast

Data Type

Long

Purpose

Threshold for the contrast of the edge. The default is 40.

Remarks

The detection process uses only edges with a contrast greater than this value. Contrast is defined as the difference between the average pixel intensity before the edge and the average pixel intensity after the edge.