OutlineMethod

NI Vision for LabWindows/CVI Function

OutlineMethod

Method the function uses when outlining the edges. For more information about filtering, refer to Chapter 5, Image Processing, of the NI Vision Concepts Manual.

Elements

Name

Value

Description

IMAQ_EDGE_DIFFERENCE 0 The function uses a method that produces continuous contours by highlighting each pixel where an intensity variation occurs between itself and its three upper-left neighbors.
IMAQ_EDGE_GRADIENT 1 The function uses a method that outlines contours where an intensity variation occurs along the vertical axis.
IMAQ_EDGE_PREWITT 2 The function uses a method that extracts the outer contours of objects.
IMAQ_EDGE_ROBERTS 3 The function uses a method that outlines the contours that highlight pixels where an intensity variation occurs along the diagonal axes.
IMAQ_EDGE_SIGMA 4 The function uses a method that outlines contours and details by setting pixels to the mean value found in their neighborhood, if their deviation from this value is not significant.
IMAQ_EDGE_SOBEL 5 The function uses a method that extracts the outer contours of objects. As opposed to the Prewitt filter, the Sobel filter assigns a higher weight to the horizontal and vertical neighbors of the central pixel.
IMAQ_OUTLINE_METHOD_SIZE_GUARD 0xFFFFFFFF Reserved