According to one embodiment, a search skip region setting function generation method includes associating, detecting, and generating. The associating associates a template used to search a model image for an object with a designated search point on the model image, and detects a designated search point similarity between the designated search point and the template. When the designated search point similarity exceeds an object detection determination threshold, the detecting detects surrounding search point similarities between a plurality of surrounding search points around the designated search point on the model image and the template. The generating generates a function required to set a search skip region of the object based on relative positions between the object and the template, which are estimated based on a distribution of the surrounding search point similarities.
展开▼