1. An imaging device comprising: a lens attaching portion to which a plurality of types of lenses including a multiple-property lens having a plurality of areas with each of the plurality of areas having an independent property and a typical lens having one property is selectively attached; a directional sensor that has a plurality of types of pixels configured of two-dimensionally arranged photoelectric conversion elements and, in a case of the multiple-property lens being attached to the lens attaching portion, selectively receives each luminous flux incident through the plurality of areas at the plurality of types of pixels by pupil division of the luminous flux; a determining unit that determines the type of lens attached to the lens attaching portion; an image generating unit that generates an image by reading out an imaging signal for each pixel from the directional sensor; and an image correcting unit that corrects the image generated in the image generating unit, wherein the image generating unit, on the basis of a determination result of the determining unit, in the case of the multiple-property lens being attached to the lens attaching portion, generates a plurality of images respectively corresponding to the plurality of areas from imaging signals of the directional sensor respectively corresponding to the plurality of areas and, in a case of the typical lens being attached to the lens attaching portion, generates one image from imaging signals of all pixels of the directional sensor, and the image correcting unit, on the basis of the determination result of the determining unit, in the case of the multiple-property lens being attached to the lens attaching portion, performs correction of removing, from an image generated in correspondence with one area of the plurality of areas, influence of a luminous flux passing an area other than the one area and, in the case of the typical lens being attached to the lens attaching portion, corrects a difference in sensitivity for each pixel of the plurality of types of pixels.