Precise Cable Contour Extraction Method Based on Candidate Point Merge Search

Wang Hao-tian,Li Xiao-run,Feng Yue-ming
DOI: https://doi.org/10.1145/3381271.3381289
2020-01-01
Abstract:Aiming at the problem that the existing image contour extraction algorithm can't be accurate to the pixel level, this paper proposes a cable contour extraction method based on candidate point merge search. The algorithm is divided into three steps: Firstly, the rough position of the target area is extracted by color, and the contour candidate points with larger gradients near the boundary are obtained; Then the adjacent candidate contour points are uniformly connected into several line segments and the angle of each line segment and the gradient sum through the pixel points are calculated; Finally define the target of the line segment merge and the principle of distance attenuation and angle attenuation and perform a merge search, by iterating until it merges into a complete contour. For contour sections where the correct candidate point cannot be found, it can be skipped by adding flag bit. The experimental results show that this algorithm can extract the cable contour at pixel level without manual parameter setting, which is of great significance for cable quality detection.
What problem does this paper attempt to address?