1. An image processing device comprising: a trail extraction section that extracts a region where pixel values continuously become a given value or more, within image data made up of a plurality of pixel values, as a trail; a trail determination section that determines movement state of the trail that has been extracted by the trail extraction section; and a trail detection section that detects type of the trail based on movement state that has been determined by the trail determination section.