Figure 3

(a) Original image. (b) Initial binarized obstacle image. (c) Morphological close operation (narrow gaps lie in the red circle). (d) Eliminate isolated small areas (isolated small areas lie in the blue circle). (e) Road initial contour (noise lies in the yellow circle). (f) Road contour purification.