The present invention relates to measuring movements of cameras using linear accelerometers and, in particular, to calculating corrections for such movements.
Movement of a digital camera during image exposure results in image smearing across the image sensor. In general, translational camera movement in the X, Y, or Z axes or rotation about the roll axis (front-to-back) does not have as significant an effect on image sharpness as rotation in the yaw or pitch axes. Therefore, a method for improving the sharpness of a camera image taking into account rotation along the yaw or pitch axes is desirable.
In a first embodiment of the invention, a pair of linear accelerometers is attached a fixed distance apart on a camera forming an angular accelerometer. Rotational acceleration about an axis between the accelerometers is measured by the accelerometer and then integrated twice to determine rotational displacement about the axis. An image taken by the camera is then processed using the calculated displacement. In some embodiments of the invention, the image is corrected for motion of the camera body, such as a rotation in a yaw or pitch axis. In other embodiments of the invention, a plurality of pairs of accelerometers is provided and rotational displacement about a plurality of axes is determined. In some embodiments of the invention, at least one integrator is provided to facilitate determination of displacement from acceleration.
The foregoing features of the invention will be more readily understood by reference to the following detailed description, taken with reference to the accompanying drawings, in which:
In certain embodiments of the invention, a pair of linear accelerometers is attached to a camera. The accelerometers are spaced a fixed distance apart to form an angular accelerometer. This angular accelerometer can measure the rotational acceleration about an axis of interest. The measured angular acceleration may then be integrated to calculate angular displacement about the axis. This angular displacement may be used to process digital camera images. For example, the images may be corrected for movements of the camera, such as rotations about a yaw or pitch axis.
When rotational acceleration is sensed using the accelerometers, the image sensor may be moved, or the image may be optically steered by an amount proportional to the acceleration to correct for the movement. The magnitude of the rotational acceleration is given by:
rotational acceleration=0.0511*f2*r*Sin(Arctan (image shift/lens focal length)),
where rotational acceleration is in units of g (gravity);
f is in Hz;
r (radius) is in millimeters; and
focal length is in millimeters.
A graphical representation of the geometry for yaw axis sensing, for example, is shown in
For a 4*10−6 meter pixel size and a one pixel image shift:
θ=Arctan(4*10−6/50 mm)=0.005°
Displacement (at the accelerometer) at a radius of 50 mm is:
S=0.05*sin θ=4.4*10−6 meters=0.0002 inch
For a radius of 50 mm (half the distance between the accelerometers) at 10 Hz.:
Rotational acceleration=0.0511*f2*S
where S in inches
=0.9*10−3 g at each accelerometer per pixel of image shift.
The pitch axis case is similar, but rotated 90 degrees.
In other embodiments of the invention, a variety of accelerometer placements on the camera body are possible. For example, one sensor 210 may be placed at the back of the camera 200 and another 220 in the front, as shown in
In preferred embodiments of the invention, the distance between accelerometers is made as large as practical to improve the signal-to-noise ratio of the output.
In order to convert angular acceleration to positional information (usable to control the translation of the image sensor or optically steer the image), double integration of the angular acceleration is performed. In preferred embodiments of the invention, at least one integrator, or parts of an integrator, may be incorporated into the angular accelerometer.
For some applications, for example digital video cameras, a very low 1/f noise frequency is preferred. In one embodiment, accelerometers may be used that have very low 1/f noise (1/f frequency corner is under 0.5 Hz).
Logic performing the processing functions may be partitioned into different logic blocks (e.g., programs, modules, functions, or subroutines) without changing the overall results or otherwise departing from the true scope of the invention. Oftentimes, logic elements may be added, modified, omitted, performed in a different order, or implemented using different logic constructs (e.g., logic gates, looping primitives, conditional logic, and other logic constructs) without changing the overall results or otherwise departing from the true scope of the invention.
The present invention may be embodied in many different forms, including, but in no way limited to, computer program logic for use with a processor (e.g., a microprocessor, microcontroller, digital signal processor, or general purpose computer), programmable logic for use with a programmable logic device (e.g., a Field Programmable Gate Array (FPGA) or other PLD), discrete components, integrated circuitry (e.g., an Application Specific Integrated Circuit (ASIC)), or any other means including any combination thereof.
Computer program logic implementing all or part of the functionality previously described herein may be embodied in various forms, including, but in no way limited to, a source code form, a computer executable form, and various intermediate forms (e.g., forms generated by an assembler, compiler, linker, or locator.) Source code may include a series of computer program instructions implemented in any of various programming languages (e.g., an object code, an assembly language, or a high-level language such as Fortran, C, C++, JAVA, or HTML) for use with various operating systems or operating environments. The source code may define and use various data structures and communication messages. The source code may be in a computer executable form (e.g., via an interpreter), or the source code may be converted (e.g., via a translator, assembler, or compiler) into a computer executable form.
The computer program may be fixed in any form (e.g., source code form, computer executable form, or an intermediate form) either permanently or transitorily in a tangible storage medium, such as a semiconductor memory device (e.g., a RAM, ROM, PROM, EEPROM, or Flash-Programmable RAM), a magnetic memory device (e.g., a diskette or fixed disk), an optical memory device (e.g., a CD-ROM), or other memory device.
Other variations and modifications of the embodiments described above are intended to be within the scope of the present invention as defined in the appended claims.
This application claims priority from U.S. provisional patent application No. 60/582,042, filed Jun. 22, 2004, entitled “Method for Image Stabilization for Digital Cameras,” which is incorporated herein by reference.
Number | Date | Country | |
---|---|---|---|
60582042 | Jun 2004 | US |