Manual

Table Of Contents
DobotVisionStudio User Guide
Issue V4.1.2 (2022-06-08) User Guide Copyright © Yuejiang Technology Co., Ltd.
223
Linear Edge Defect Detection
The tool of linear edge defect detection is used to detect defects and bumps on the linear edge. It
outputs the position information of the defect bounding box and defect size. The specific operation
method is shown below. It is recommended to enable Standard Input when the linear edge is blurry.
Input Mode: You can select Line, By Point, or By Coordinate. When selecting Line as
Input Mode, you need to link line. When selecting By Point as Input Mode, you need to
enter Start point, Endpoint, and Angle. When selecting By Coordinate as Input Mode,
you need to enter Start point X Coordinate, Start point Y Coordinate, Endpoint X
Coordinate, and Endpoint Y Coordinate.
ROI Area: You can select Draw or Inherit.
Edge Type: It includes Strongest Edge, First Edge and Last Edge.
Edge Polarity: It includes Dark to Light, Light to Dark and Both.
Filter Kernel Size: It is used to enhance the edge and suppress noise, and its min. value is
1. When the edge is blurred or there is noise interference, you can increase its value to make
the detection result more stable. If the distance between the edge and the edge is smaller
than the filter size, it will affect the accuracy of the edge location or even lose edge. This
parameter value needs to be set based on the actual situation.
Contrast Threshold: It is also called gradient threshold, and its range is from 0 to 255. The
edge point whose gradient threshold is larger than this value can be detected. The larger the
value, the stronger noise resistibility, the smaller the number of edges obtained, and even
the target edge points are filtered out.
Caliper Height: It refers to the height of caliper.
Caliper Length: It refers to the length of caliper.
Caliper Spacing: It refers to the spacing of caliper.
Defect Polarity: It includes Trajectory Left Defect, Trajectory Right Defect, and
Trajectory Both Defect.