1. A camera comprising: an image obtaining unit that obtains an object image obtained by capturing an image of an object and a dust reference image obtained by capturing an image of dust that adheres on an image sensor or a protecting member protecting the image sensor; a recording unit that records the object image and data concerning the dust reference image in correlation to each other; a dust removing unit that physically removes the dust adhering on the image sensor or the protecting member, wherein the recording unit is configured such that when the dust is removed by the dust removing unit, the recording unit stops correlating the object image captured after the removal to the data concerning the dust reference image already captured.