Reference numeral 419 denotes an image type setting unit which represents means such as a switch for registering an image as a reference image upon extracting a specific object based on the comparison result with another image, a switch for setting the type indicating whether or not the image is one for object extraction to be compared with the reference image, and the like.