Measure Gap Width

Function

In a 2D image, this Step measures the width of a gap in the target object.

Usage Scenario

This Step is a custom Step for special scenarios.

Input and Output

  • Input:

  1. Color image input at this port will be used as the visualization background.

  2. 2D pose of the target object (optional, used to fit the template to the original image; if the image content of the selected ROI coincides with the template, no input is required).

  3. Physical size represented by a single pixel (optional, if this port is not used, the output size will be in pixels).

  • Output:

  1. Image for visualization.

  2. Two line segments representing the two edges of the gap.

  3. Gap width.