Patent ID: 8264554

Claim:
An imaging apparatus, comprising: an image pickup device; a device that obtains an image from the image pickup device; an acceleration sensor that detects a roll angle of the acceleration sensor, wherein the acceleration sensor detects a reference roll angle when the imaging apparatus is disposed at a horizontal position, a longitudinal photographing of +90 degrees, and a longitudinal photographing of −90 degrees, respectively; a device that calculates a reference roll angle of the image pickup device by using a reference image from the image pickup device when the imaging apparatus is disposed at the horizontal position, the longitudinal photographing of +90 degrees, and the longitudinal photographing of −90 degrees, respectively; a device that calculates a first difference as a first relative roll angle between the reference roll angle of the image pickup device when the imaging apparatus is disposed at the horizontal position and the reference roll angle of the sensor when the imaging apparatus is disposed at the horizontal position, a second difference as a second relative roll angle between the reference roll angle of the image pickup device when the imaging apparatus is disposed at the longitudinal photographing of +90 degrees and the reference roll angle of the sensor when the imaging apparatus is disposed at the longitudinal photographing of +90 degrees, and a third difference as a third relative roll angle between the reference roll angle of the image pickup device when the imaging apparatus is disposed at the longitudinal photographing of −90 degrees and the reference roll angle of the sensor when the imaging apparatus is disposed at the longitudinal photographing of −90 degrees; and a device that corrects the detected roll angle of the acceleration sensor by using one of the first, second and third relative roll angles.