Abstract: An image taking apparatus includes an image sensor which takes a plurality of images different in focal distance, a processor which creates a pan-focus image focused on each of different photographic objects from the plurality of images taken by the image sensor, a discriminator which discriminates whether or not it is appropriate to create the pan-focus image, and a controller which forbids the processor to create the pan-focus image when the discriminator discriminates that it is not appropriate to create the pan-focus image.