摘要 |
A boundary detection apparatus (1) includes an acquisition unit (11), an extraction unit (13) and a detection unit (15). The acquisition unit acquires a disparity image based on information obtained by capturing an image of a peripheral environment of a vehicle. The extraction unit extracts predetermined pixel regions from first and second pixel regions of the disparity image based on a disparity gradient direction of the first pixel region and a disparity gradient direction of the second pixel region. The detection unit detects a boundary of a step surface existing alongside a road by joining together at least some of the predetermined pixel regions extracted by the extraction unit. The first and second pixel regions sandwich the predetermined pixel region. An angle formed by the disparity gradient direction of the first pixel region and the disparity gradient direction of the second pixel region is within a predetermined angular range of a right angle. |