Patent ID: 8416307

Claim:
A camera comprising: an image sensor configured to receive an image along an optical path; an actuator; and a motion compensation system configured to cooperate with said image sensor and comprising a motion compensating optical element positioned in said optical path and configured to be driven by said actuator, a gyro configured to provide a gyro signal representative of a motion of the camera, an optical image stabilization (OIS) processor configured to perform signal processing on the gyro signal, the signal processing comprising applying variable gain and gyro offset correction factors, a digital image stabilization (DIS) processor configured to receive a video signal from said image sensor during a viewfinder mode and to derive motion vectors representing movement of an object between pairs of frames from the video signal, and a control circuit configured to cause said OIS processor to cycle through a number of combinations of the variable gain and gyro offset correction factors during the viewfinder mode and to detect which combination results in a threshold motion vector in said DIS processor, said control circuit being configured to cause the combination resulting in the threshold motion vector to be used in said OIS processor when the image is to be recorded.