Patent Document ID: 8224069
Application ID: 12685102
Patent Status: 1

Claim One:
1. An image processing apparatus that conducts template matching among a plurality of images, the apparatus comprising: an image acquiring unit for acquiring two or more parallax images of a same subject; a feature point setting unit for setting feature points in one of the images acquired by the image acquiring unit; a template setting unit for setting a base template that includes a feature point set by the feature point setting unit; an image determining unit for determining whether or not an image within the base template set by the template setting unit is segmented by an edge; a transformed template setting unit for setting a transformed template in a case in which it is determined that the image within the base template is segmented, wherein a segmented sub-region that does not contain the feature point is deleted from the base template, and a region equal in area to the deleted region is added to a sub-region that does contain the feature point, wherein the added region is entirely within a feature point side of the edge; a matching unit for conducting the template matching with respect to the one or more other images, using at least the base template or the transformed template; and a distance computing unit for computing a shooting distance to the feature point matched by the template matching conducted by the matching unit.