1. An image processing apparatus comprising: an image acquisition unit for acquiring a plurality of original images acquired by imaging a specimen including a structure in various focal positions using a microscope apparatus; an image generation unit for generating, on the basis of the plurality of original images, a first image on which blurring of an image of the structure has been reduced in comparison with the original images; and an analysis unit for obtaining information relating to the structure included in the first image by applying image analysis processing to the first image, wherein the image generation unit selects a part of the original images having focal positions included within a smaller depth range than a thickness of the specimen from the plurality of original images obtained from the specimen, and generates the first image using the selected original images.