A digital single-lens reflex camera includes a lens unit and a camera
body. The lens unit has a photographing lens and an identification data
memory for storing identification data to identify the photographing
lens. The camera body, to which the lens unit is detachably attached, has
an imaging device which receives light transmitted through the
photographing lens to generate an image corresponding to a subject, a
lens data memory for storing lens data that indicates the shading
characteristics of the photographing lens, a lens data reader that reads
the lens data based on the identification data, and an image corrector
that corrects an error in the image of the subject caused by shading,
based on the lens data read by the lens data reader and imaging device
data that indicates the shading characteristics of the imaging device.