Skip to content

Adhesive Path Inspection - Contour

Operator Function

This operator uses contour-based methods to measure whether the adhesive strip is broken, its width, height, and other parameters. It selects the input adhesive strip point cloud and outputs in global variables whether the adhesive strip meets requirements, width, and height information.

Parameter Introduction

Input Parameters

ParameterRangeDefault ValueDescriptionIllustration
Input Image0-80The IM number for image input

Calculation Parameters

ParameterRangeDefault ValueDescriptionIllustration
Use Region Parametertrue/falsefalseIf enabled, use Region as input; if disabled, use Input Image as input
Region2D Window/2D Circular Window/2D Polygon Window/Box/Cylinder Box/Rotated Box/Point Set (Binding Only)BoxManually select appropriate ROI region
Can bind to select existing ROI regions
Step Length1.000Set the length in Y direction when segmenting regions
Broken Adhesive Point Limit100When the number of points in the divided adhesive point cloud region is less than this value, it is judged as broken adhesive
Reference Height0.000Input reference height value
Detection Height0.1Set point cloud above reference height by this value as adhesive strip
Extraction ModeNearest/Fusion-AverageNearestNearest: This mode only supports ordered point cloud input, will extract the contour closest to the extraction position
Fusion-Average: This mode will extract points within the set extraction width, outputting contour fitted by average based on extraction width and resolution
X-direction Resolution0.100This resolution is the x-direction resolution of the fitted contour. Too large resolution will affect output result accuracy
Extraction Width0.100Set cutting width value. Points within the positive and negative range of this value at the cutting position will be used as extracted contour points
Height MeasurementMaximum Height/Minimum HeightMaximum HeightMaximum Height: Set height measurement mode to maximum height
Minimum Height: Set height measurement mode to minimum height
Judgment ModeAny/ContinuousContinuousAny: When any number of regions judged as broken exceeds the set outlier count, judge as NG
Continuous: When several consecutive regions judged as broken exceed the set outlier count, judge as NG
Outlier Count1Set to judge as NG when number of outlier values exceeds this value
Minimum Width0.100Set the minimum width that meets requirements
Maximum Width1.000Set the maximum width that meets requirements
Judgment ModeAny/ContinuousAnyAny: When any number of regional width values exceeds the set outlier count, judge as NG
Continuous: When several consecutive regional width values exceed the set outlier count, judge as NG
Outlier Count1Set to judge as NG when number of outlier values exceeds this value
Minimum Height0.100Set the minimum height that meets requirements
Maximum Height1.000Set the maximum height that meets requirements
Judgment ModeAny/ContinuousAnyAny: When any number of regional height values exceeds the set outlier count, judge as NG
Continuous: When several consecutive regional height values exceed the set outlier count, judge as NG
Outlier Count1Set to judge as NG when number of outlier values exceeds this value

Result Display

ParameterRangeDefault ValueDescriptionIllustration
Height Measurement Pointstrue/falsefalseHeight points obtained from contours extracted by step length of adhesive path, display in image if enabled
Width Measurement Pointstrue/falsefalseWidth points obtained from contours extracted by step length of adhesive path, display in image if enabled
Contourtrue/falsefalseContours extracted by step length of adhesive path, display in image if enabled
Widthtrue/falsefalseWidth values obtained from contours extracted by step length of adhesive path, display in image if enabled
Heighttrue/falsefalseHeight values obtained from contours extracted by step length of adhesive path, display in image if enabled
Break Informationtrue/falsefalseDisplay Broken information at break locations when detected, display in image if enabled
ROI Point Settrue/falsefalseOnly effective when Use Region Parameter is enabled. ROI selected region point set, display in image if enabled

Output Parameters

NameTypeRangeDescription
Resultbooltrue/falsetrue for success
false for failure
Warningbooltrue/falsetrue indicates a warning
false indicates none
MessagestringOutput success, error, or warning messages. Empty if no error or warning
TimefloatOperator execution time, unit: ms
resultstringOutput adhesive path inspection result
widthfloat[]Output width values obtained from contours extracted by step length of adhesive path
heightfloat[]Output height values obtained from contours extracted by step length of adhesive path

Tip

For more detailed explanations of parameter types, please refer to Type Definitions

Exception Troubleshooting

No.Exception InformationCorresponding ParameterSolution
1Input region type is {0}, invalid region typeRegion TypeRegion input type must be one of: 2D Window/2D Circular Window/2D Polygon Window/Box/Cylinder Box/Rotated Box/Point Set
2Region is empty1. Check if selection is empty
2. Check if pointset is empty
3Input point cloud is emptyConfirm if IM contains valid points. If no valid points, load point cloud or switch to IM with valid points
4Region point cloud needs to be orderedInput ordered point cloud
5Extracted contour is emptyAdjust cutting width
6Ordered point cloud input requiredInput using ordered point cloud image
7Input extraction mode is {0}, invalid extraction modeExtraction ModeSelect extraction mode as Fusion-Average/Nearest
8Input extraction position or resolution invalidAdjust extraction position or resolution
9X-direction resolution or step length errorAppropriately adjust X-direction resolution or step length
10Input height measurement mode is {0}, invalid height modeHeight ModeSelect height mode as Measure Maximum Height/Measure Minimum Height
11Input detection height or reference height errorAppropriately adjust detection height or reference height
12Extraction width should be less than step lengthExtraction width less than step length
13Input width judgment parameters invalidAppropriately adjust width judgment parameters
14Input width judgment mode is {0}, invalid width judgment modeWidth Judgment ModeSelect mode as Any/Continuous
15Input point cloud errorCannot extract adhesive path from this part. Check if selected point cloud contains adhesive path or adjust detection height or reference height
16Input height judgment parameters invalidAppropriately adjust height judgment parameters
17Input height judgment mode is {0}, invalid height judgment modeHeight Judgment ModeSelect mode as Any/Continuous
18Input break judgment parameters invalidAppropriately adjust break judgment parameters
19Input break judgment mode is {0}, invalid break judgment modeBreak Judgment ModeSelect mode as Any/Continuous
20Input width judgment upper/lower limits invalidWidth judgment upper limit greater than or equal to lower limit
21Input height judgment upper/lower limits invalidHeight judgment upper limit greater than or equal to lower limit
22Input point cloud is ordered point cloud, region type {0} not currently supportedRegion TypeRegion input type must be one of: 2D Window/Box
23Input polygon vertex count is less than 3, cannot form polygonAdd 2D polygon window vertices so vertex count is at least three

Example Introduction

Engineering Design

  1. Select Load Point Cloud tool to load required 3D point cloud image into IM0.

  2. Select 3D Region tool to select region requiring plane fitting.

  3. Select 3D Plane tool, using output of 3D Region tool as input, fit plane and transform point cloud.

  4. Select Adhesive Path Inspection - Contour tool.

Tool Usage

  1. Select input image for operation. Image number must match IM number where image is located in project.

  2. Either disable Use Region Parameter or enable Region and select region type as Box, then move box to target position to surround point cloud to be measured.

Usage Tips

  1. Use ROI controller on image window to drag or scale box;
  2. Directly modify box start or end coordinates in calculation parameters to adjust box position and size.
  1. Set parameters.

  2. Check desired display content in Result Display section.

  3. Click Test to check if image window and parameters meet expectations.

  4. If everything is correct, click Save, then run operator in run list. View results in corresponding IM.

Local imageLocal image

AI-Vision, Making 3D Measurement Easier