1. A matching process device that performs pattern matching on a searched image, comprising: a feature region extraction process unit that extracts, from a template image acquired for learning, a region for extraction of a feature quantity determined by a coordinate in the image; a feature quantity extraction process unit that extracts, from the searched image acquired for learning, a feature quantity determined by a coordinate in the image; a first mutual feature quantity calculation process unit that calculates a first mutual feature quantity of the template image and the searched image from the feature quantity extracted from the template image, the feature quantity extracted from the searched image, and a relative position of the template image and the searched image; a discrimination boundary surface calculation unit that calculates a discrimination boundary surface that determines matching success or failure, using a plurality of the first mutual feature quantities calculated from feature quantities with different feature quantity values at the same coordinate in images extracted by a plurality of the feature quantity extraction process units with different feature quantity extracting computations; a second mutual feature quantity calculation process unit that calculates a second mutual feature quantity from the template image acquired from an inspection object and the searched image; a template matching process unit that performs matching between the template image of the inspection object and the searched image, using a plurality of the second mutual feature quantities calculated from feature quantities with different feature quantity values at the same coordinate in the images and the discrimination boundary surface; and a matching success/failure decision boundary surface designation process unit that determines the matching decision boundary surface by using, as an input, the first mutual feature quantity, the feature quantity extracted from the template, the feature quantity extracted from the searched image, and a matching success/failure result between the template acquired in advance and the searched image.