Patent ID: 8228623

Claim:
An imaging device comprising, a group of lenses, a temperature measurement section for measuring temperature information on the group of lenses, a focus evaluation value detection section for detecting a focus evaluation value to evaluate a focusing condition of the group of the lenses, a storage section for storing temperature compensation data to be used to compensate for a deviation of lens positions of the group of lenses from the lens positions of the group of lenses for having an object imaged in focus, the deviation being caused by a temperature change of the group of lenses, a system control section having a imaging mode and a correction mode, the imaging mode in which the group of lenses are controlled and moved to focusing positions for a predetermined distance to the object at first and are further moved to correct the focusing positions for the predetermined distance to the object during imaging according to the temperature compensation data, the correction mode in which the group of lenses are controlled and moved to have the temperature compensation data corrected when the temperature change is larger than or equal to a predetermined temperature difference, a correction coefficient calculation section for calculating the correction coefficient to correct the temperature compensation data based on first focusing positions of the group of lenses to which the group of lenses are moved according to the temperature compensation data before corrected and second focusing positions of the group of the lenses to which the group of the lenses are automatically moved from the first focusing positions to have the object the predetermined distance away imaged in focus based on the focus evaluation value under a condition under which a moving range of the group of lenses is restricted, when the system control section is on the correction mode, and a temperature compensation data correction section for correcting the temperature compensation data to be used for the imaging mode based on the correction coefficient calculated by the correction coefficient calculation section.