Abstract:
A situation comprehending apparatus included in an imaging apparatus includes an image acquiring section, a structure specifying section, a distance acquiring section, a main subject specifying section, and a main subject distance distribution determining section. The image acquiring section acquires an image of a target scene. The structure specifying section specifies a structure having linear image information in a far or near direction of the target scene or in a direction perpendicular to the far or near direction. The distance acquiring section acquires a distance to a structure straight line included in the structure. The main subject specifying section specifies a main subject different from the structure included in the image. The main subject distance distribution determining section determines distance distribution to the main subject with use of an image of the structure and an image of the main subject.