Image processing device, image processing method, and computer program product

In an image capturing device, an image acquiring unit acquires image data captured for a subject, a distance information acquiring unit acquires a distance from the subject included within each region to a capturing position for the image data for each of a plurality of regions constituting the acquired image data, a distinguishing information acquiring unit acquires distinguishing information for distinguishing the subject from the image data, and a generating unit generates object regions the subject within the image data is divided up into each processing target from the image data based on the shooting distances and the distinguishing information.