Measure Edge-to-Edge Width
Description
Use this Step to detect a pair of edge points in the image and measure the distance between them as the edge-to-edge width.
Usage Scenario
This Step is mainly used in scenarios where precise measurement of distances within objects or between multiple parts is required, such as detecting component gaps and measuring package dimensions.
Input and Output
Parameter Description
| Parameter | Description |
|---|---|
ROI Settings |
You can draw a rectangular ROI, and the system will extract multiple columns of pixels according to the caliper settings. The detected edge point pairs in each column of pixels will be used for width measurement. |
Filter Window Size |
Specify the window size to be used when filtering a column of pixels in its direction. Filtering can reduce noise and improve the stability of edge detection results. |
Gray Value Change Threshold |
In the extracted column of pixels, edge points are detected only if the gray value change between adjacent pixels at an edge is greater than or equal to this threshold. |
Expected Edge-to-Edge Width |
This parameter specifies the expected distance between two edge points. When there are multiple eligible edge point pairs, the edge point pair closest to the expected width is selected to calculate the final edge-to-edge width. |
Upper Edge Polarity / Lower Edge Polarity |
This parameter specifies the direction of the gray value change at the edge. Value list:
|