InspectEdge

Used to perform advanced edge analysis. Within the referenced Region of Interest (ROI) of the function, an array of indexed, edge detecting sub-regions (called Calipers) develop detailed information about the precise location of features, by locating edges or edge pairs in an image. This information is used to determine the location of edges or features, the location and spacing of pairs of edges, and measure the width of objects in images.

InspectEdge Overview

After inserting the InspectEdge function, the ROI is established, either using the own internal region of the function or as a reference to an external ROI, such as an EditMaskedRegion or EditPolylinePath, to determine where in the image the tool should detect the edge or edge pairs. The referenced ROI is segmented into individual Calipers, where each Caliper projects the pixels within it into a single convolution for edge analysis.

Once the ROI has been configured, the following steps are necessary to properly apply the function:

  1. Specify Caliper, Minimum Contrast, and Edge Width parameter values that isolate the edges of interest.
  2. Define an edge model that describe the edge or edge pair of interest using the InspectEdgeForDefect, InspectEdgePosition, InspectEdgeTrainBeadPath, or InspectEdgeWidth functions.

With the InspectEdge function in place, multiple inspections can be performed using a single InspectEdge function as an input. For example, within one InspectEdge ROI, an InspectEdgeForDefect function could reference the function to determine positional defects, while an InspectEdgeWidth function performs a separate width measurement, and an InspectEdgePosition function determines a best-fit line for another edge.

Note: InspectEdge requires the longest execution time of the InspectEdge Vision Tools. Increasing the number of Calipers within the ROI will increase the computational time of the function.