1. An image processing device, comprising: a processor configured to acquire a plurality of images in which an object is captured from multiple directions, calculate a value representing a suitability of the images, determine a process enabling a measurement of a surface shape of the object depending on the suitability of the images, and execute the process which is determined, wherein the processor is further configured to calculate the value representing the suitability of the images by being configured to calculate a value representing an overlap ratio between the images, and wherein the processor is further configured to determine a filtering process applied to the images based on a value representing degree of image blur, a different filtering process being applied for a different value representing the degree of image blur.