Explore chapters and articles related to this topic
Contour-guided zigzag path planning for the automation of pothole spray repair based on the depth image
Published in International Journal of Pavement Engineering, 2022
Penghui Wang, Qingyi Xiang, Yongbiao Hu, Mingrui Tian
Unlike the disadvantage of direct depth slicing of obtaining multiple pothole slices at one operation, the flood-fill method could obtain one slice. The flood-fill method (Burtsev and Kuzmin 1993) gets its name from the idea that a flood spreads from one area to all it can reach, which determines and alters the area connected to a given node in a multi-dimensional array with some matching attribute. The traditional flood-fill algorithm takes three parameters: a start node, a target colour, and a replacement colour, of which the start node is also called seed point. The algorithm looks for all nodes in the array connected to the start node by a path of the target colour and changes them to the replacement colour.