An image processing apparatus includes a calculation unit configured to calculate information indicating similarity among a plurality of tomographic images, and a generation unit configured to generate a tomographic image from the plurality of tomographic images based on the calculated information indicating similarity.