Patent ID: 7593627

Claim:
A device comprising: a camera to capture an image; a sensor to measure information indicative of an angular displacement, about a line of sight of the camera, of an orientation of the camera away from a reference orientation of the camera when the camera captures the image; storage to store the image and the measured information; and a processor to rotate the image relative to a frame of the image based on the angular displacement, where when an absolute value of the angular displacement is less than 45°, the image is rotated relative to the frame based on the angular displacement, when the absolute value of the angular displacement is greater than 45° and less than 135°, the image is rotated relative to the frame based on 90° minus the angular displacement, when the absolute value of the angular displacement is greater than 135° and less than 225°, the image is rotated relative to the frame based on 180° minus the angular displacement, and when the absolute value of the angular displacement is greater than 225° and less than 315°, the image is rotated relative to the frame based on 270° minus the angular displacement.