Example: Edge Detection

NI Vision for Visual Basic

Example: Edge Detection

This example shows how to use CWIMAQVision.FindEdges3 to find edges, or sharp transitions in the pixels values, along a given ROI profile. CWIMAQVision.FindEdges3 is a precursor function to many of the gauging and inspection tasks. For example, the location of the edges found along a line profile across an object can interpreted as the boundaries of the object whose dimensions have to be measured for a gauging application or the presence of a crack in the surface of an object for an inspection application.

Example Location

<Vision>\Examples\MSVB\2. Functions\Caliper