Provided is an image processing device, including: a distance calculator that calculates distance information corresponding to at least one image among a plurality of input images; and an image generator that generates an output image with a shallow depth of field based on the distance information, in which the distance calculator calculates distance information from a plurality of contrast calculation regions sizes of which are different, and the image generator calculates a pixel value of an output image by smoothing a pixel value of the input image based on the distance information.