A crosswalk detection device executes a predetermined arithmetic processing on a calculated value calculated based on data obtained through a scanning operation using a main pattern. Next, the device determines whether or not a crosswalk is in a predetermined image based on a relationship between a calculated result of the arithmetic processing and a position of the main pattern MP on the predetermined image. The above-explained calculated value is, for example, an average of the brightness of pixels overlapping each sub pattern of the main pattern. Hence, even if a white pattern of the crosswalk is cracked or the white pattern has a separated part, the value of data is hardly affected. Accordingly, it is possible to precisely determine whether or not the crosswalk is in the predetermined image.
展开▼