This invention relates to the field of controlling the focus of a camera.
The following is a tabulation of some prior art patent documents that appear relevant:
Ever since the invention of photography it has been a problem to focus the lens of a camera on the subject to be photographed. Myriads of images that otherwise would have turned out well have been ruined by the subject being out of focus. This problem has been greatly alleviated by the introduction of autofocus system approximately since the 1970s. Yet, using existing autofocus systems often is clunky and time-consuming, and popular techniques for using autofocus systems have a tendency to produce out-of-focus images.
The first major method of controlling an autofocus is the half-press technique. Many cameras are equipped with a shutter button that has two stages, the first stage being called ‘half press’ and the second stage being called ‘full press’. The photographer sets the focus by pointing a particular area of the camera's field of view, in the simplest case the center of the field of view, to the subject area he wants to focus the camera on. Then he presses the shutter button to the half-press position. This will cause the camera's autofocus to engage and to focus the lens so that the subject at that special area of the camera's field of view is in focus. Then that focus gets locked. The photographer can now recompose the picture by rotating the camera slightly, for example to bring the subject into a more interesting position than straight in the center of the picture, or to bring another, secondary subject into the field of view as well. When the photographer is satisfied with the image he has composed he presses the shutter button all the way and the camera takes a picture. This is fast because the focus, and perhaps also other image parameters such as exposure, have already been set at the half-press stage so that the camera can take an image with little shutter lag.
The second major method of controlling an autofocus is to select on the camera which part of the camera's field of view the autofocus should keep in focus. This can be accomplished by using a control wheel or joystick to move the point of focus, or on some newer cameras, especially those built into mobile telephones or other multimedia devices, it can be accomplished by pointing to an area of an image preview on a touchscreen. Either way of controlling the focus is rather cumbersome. Using dedicated control elements to change the focus area typically requires using several control elements on the camera, such as pressing a button and operating a wheel or joystick simultaneously. Using a touchscreen typically requires changing the way the camera is held in the hand compared to the preferred way the photographer holds the camera for taking a picture. Because this way is so time-consuming, many photographers prefer to use the half-press method. On some cameras, especially those equipped with phase-detection autofocus, the camera may also be faster to focus or be able to focus in lower light conditions if it uses the autofocus sensor corresponding to the center of the camera's field of view.
The two methods described can also be combined, by first selecting an approximate area of focus in the camera's field of view and then using the half-press technique.
The popular and quick half-press technique suffers from a fundamental problem, however. Consider the situation in
However, the photographer would like to show more of the subject's body in the picture and thus recomposes the picture as shown in
The distance between the actual new focus plane after the image has been recomposed 118 and the desired plane of focus 112, can be calculated by simple trigonometry in the two-dimensional example of
This effect becomes the more troublesome the smaller the camera's depth of field is. It is a particular problem in applications where one often uses a wide aperture or a long focal width, such as in portrait photography or in sports photography, and the problem gets worse the larger the angle by which the image is recomposed becomes.
Spielberg (U.S. Pat. No. 7,409,149) teaches a camera that overcomes some of the difficulties just described by incorporating an attitude sensor in a camera, measuring an exposure distance on a user command to lock focus, and adjusting the focus before a picture is taken in response to the camera's change in attitude between locking focus and taking the picture.
Tsai (US 2012,012,0277) teaches a method to select multiple focus points on a camera using a touch screen.
Gordon (U.S. Pat. No. 4,236,794) teaches a self-focusing camera using purely mechanical means or alternatively electronic means that sets focus based on the camera's spatial orientation.
According to some embodiments, a portable camera equipped with an autofocus system is also equipped with a microelectromechanical rotation sensor. The camera's processor uses rotation data provided by this sensor to correct focus as the camera is a rotated and displays the new orientation of the area of interest for autofocus to the user on a display. Focus may be adjusted on user command only or continuously, and one or more areas of interest may be chosen. Additional applications are shown.
Some advantages of some embodiments include:
The reader will now see that all of the prior art makes it rather hard to set focus precisely on a specific image element, especially in situations where the subject of the image might also be moving, such as in sports photography and in capturing video.
The camera of the first embodiment is also equipped with means to verify whether the a given element of the picture is currently in focus and to adjust focus if needed. This may be achieved with an array of dedicated phase-detection sensors separate from the image sensor, as is commonly found particularly in single-lens reflex cameras. Alternatively, it may be achieved with phase-detection sensors integrated into the camera's image sensor. Yet another possibility is to use contrast maximization for autofocus using the pixel output from the camera's image sensor in a given region of interest. Further, the camera is equipped with a display showing which area of the image is currently the area of interest to optimize focus for. If the camera is equipped with an optical viewfinder, this may be achieved by markings of possible focus points such as the little squares visible in the view through the viewfinder 300 shown in
The camera may allow the choice of different image-taking modes, and it may also allow the photographer to capture video instead of still images.
The camera may further be equipped with a microelectromechanical (MEMS) sensor capable of sensing rotation in three dimensions, which may be one of the MEMS gyroscope sensors made by Analog Devices of Norwood, Mass. Other means of rotation sensing, such as laser gyroscopes, may be used in some embodiments. The camera's processor is connected to the MEMS sensor and running routines, as are well known in the art, to integrate the MEMS sensor's output into a rotational position of the camera in three spatial axes, where the reference frame of said three axes may be arbitrarily chosen. The camera's rotational position may be represented by any of a number of ways known in the art to represent rotational position in space, such as Euler angles or quaternions. It can be advantageous to supplement the rotation sensor with additional sensors, such as acceleration sensors measuring gravity in three axes or magnetic field sensors measuring the earth's magnetic field in three axes. Since gravity and the earth's magnetic field are in approximation locally uniform force fields, a Kalman or other state space filter may be used to eliminate sensor drift from the rotation sensors, a technique well-known in the art. If the camera is equipped with user-changeable lenses, those lenses may include an electronic means of communicating the focal width of the lens presently installed.
We will now consider several modes of operating the first embodiment and its functionality.
Basic Operation:
The first example of the embodiment's operation is shown in
Now, as shown in
When the photographer now pushes the shutter button to the full-press position, the camera will take a picture with the subject's eyes perfectly focussed and the problem explained in the Background section has been solved.
Continuous Autofocus:
A different mode of operation can be accomplished in the same scenario as in the previous example with the switch 208 in the position ‘AF-C’ for continuous autofocus operation. In the previous example, the autofocus was locked on the actuation of the half-press button. This works well for a static image subject and allows for very fast shutter response when the shutter button is fully pressed. Locking the autofocus is less desirable when the subject is moving, and for these situations the continuous autofocus operation offers a different solution. Continuous autofocus is also especially desirable when the photographer wants to take a video recording instead of a still image.
With the autofocus in continuous operation, when the shutter button is engaged in half-press mode the autofocus gets activated but keeps continuously readjusting the focus distance to keep the area at the selected point of interest in focus. This mode is available on many cameras today. Clearly, this mode on a prior-art camera would not lend itself well for the scenario in
The present embodiment offers a faster and more elegant solution. With the switch 208 in ‘AF-C’ mode, the autofocus engages on half-press with the point of interest marker 304 aimed at the point of interest, the subject 302's eyes, as shown in
In order to optimize speed of operation, the camera may be adapted to use data reported by the rotation sensor simultaneously with data from the autofocus sensor. A Kalman filter or similar state space filter may be chosen to calculate an expected change in focus observation based on the camera's rotation, taking into account measurement errors both of the focus sensors and of the rotation sensors. This filter then generates an estimate, based upon both changes from the autofocus sensor and from the rotation sensor, of the appropriate change in focus. Thus, focus will change appropriately immediately upon rotation being sensed, even if the focus sensor may take a longer time to generate useful output.
This mode of operation brings two major advantages over existing ways of operating a continuous autofocus. First, it enables the photographer to use the quick and convenient half-press technique to select an area of interest for the autofocus merely by half-pressing the shutter button and rotating the camera, a much faster and easier way than operating additional controls such as a control wheel or a touch screen. Second, since the autofocus responds to the camera's rotation as in the first case, it will automatically adjust while the camera is being rotated without the need to wait for a new autofocus measurement. This is particularly advantageous for cameras where the autofocus operates by evaluating contrast on the image sensor since it saves as lot of trial and error for the autofocus as the camera gets rotated, thus allowing a faster autofocus response time.
Multiple Point of Interest Selected:
We assume that the switch 208 again is in the AF-1′ position as in the first example. The photographer now points the selected point of interest marker 304, most easily the one in the center of the camera's field of view, at the eyes of the first subject 400, as shown in
Now the photographer points the camera at the eyes of the second subject 402, as shown in
Now the photographer recomposes the picture as shown in
The same principle of operation may also be used with the autofocus in continuous mode and multiple points of interest. In this case, the autofocus keeps measuring the distance to the points of interest, provided they are currently in the camera's field of view, and recalculates an optimal focus setting. In some applications, especially with contrast detection autofocus, it can be advantageous not to try to find the subjects' changing distances explicitly but merely to optimize contrast in the selected directions of interest.
For some applications where a photographer may want to take multiple pictures with similar focus settings, it may be advantageous for the selected focus points to remain selected after a picture has been taken. In this case, the camera may be adapted so as to store selected focus points across shots and to delete them and revert to one default focus point and normal half-press focus operation upon a long press on the button 206. In other applications where a photographer wants to focus and compose each picture separately, it may be more advantageous to revert to default focus behavior after each shot. The camera may allow the photographer to choose between the behaviors in a menu setting.
As the camera is adjusting focus for the selected points of interest, it may also adjust additional exposure parameters. For example, the camera may adjust exposure time, aperture, sensor sensitivity, or white balance settings continuously so as to give a good compromise exposure for the selected points of interest.
Map Mode:
In some situations, particularly some variations of sport photography, the photographer often stands at some distance from the action and quickly turns the camera from one part of the scene to another part of the scene at a different distance. Take the example shown in
This problem can be solved by switching the camera into map mode by turning switch 210 into the ‘MAP ON’ position. Typically, this will be used with continuous autofocus, thus the switch 208 in ‘AF-C’ position, although this is not a requirement. Typically, the ability to lock a direction of interest, as described above, will be switched off in map mode since map mode appears most useful for situations where the camera is swung widely, removing a previously selected image element from the camera's point of view. Alternatively, the camera may run map mode until the user locks a direction of interest and then continue optimizing for that direction of interest as described above.
As the photographer is following the action and pointing his camera toward various directions of the field, the autofocus, being in continuous mode, constantly measures the distance to the subject in the camera's field of view. The camera also constantly measures its rotational position in space relative to a coordinate system that may be chosen arbitrarily. The camera is equipped with internal memory and creates a map of focus distance for each direction into which it has measured. In the simplest case, this might be a map that for a grid of latitude and longitude of camera rotation stores the distance last seen at that latitude and longitude. Latitude and longitude are not optimal since they don't create an equal grid over a sphere and suffer from gimbal lock, so a quaternion representation will tend to work better. When the autofocus measures optimal focus distance for a direction for which there already was a map entry, the previous map entry gets overwritten by the new measurement.
As the photographer rotates the camera from pointing to player 504 to player 506, the camera looks up from this map of previously seen distances corresponding to a given direction in space the right focus distance for that direction and changes the focus accordingly. Thus, when the camera arrives at player 506 the focus will already be substantially correct. Since the camera is in continuous autofocus mode, it may still make adjustments to the focus based on a new optical measurement if time remains, but even if no time remains for a new measurement there is a substantial chance of the focus being at least approximately correct. If there is no map entry for a given direction, the camera may try the distance stored for the closest direction for which there is a map entry or use a more advanced inter- or extrapolation scheme, of which many are known in the art, for the same purpose.
The camera may have special user-selectable modes that give it additional map information. For example, for the setting in
The camera may also anticipate focus changes. If the camera's direction of view is being rotated rapidly, the camera may, for example, look up and set the focal distance not for the direction in which it is pointed now, but for the distance into which it will look a tenth of a second from now. The direction into which the camera will look may be estimated from the output of the rotation sensors by means of a Kalman filter modeling the camera's rotational speed and inertia. The amount of anticipation may increase with camera speed and with the weight of the lens currently in use in a camera with user-changeable lenses (in the absence of weight information, focal length of lens is good proxy), since with a heavy camera in rapid motion it is almost certain that the camera will not come to a sudden stop. If, however, the photographer wants to take pictures while swinging the camera, he should switch the anticipation mode off so that the camera optimizes for the direction into which the camera is pointing while the camera is being swung, not for a direction where it may come to rest after the swing is completed. This anticipation is not limited to map mode, but may also be used in the modes of operation discussed previously.
For a camera mounted on a tripod it is often advantageous to keep measuring distances and updating the distance map continuously. For a camera that is hand-held this may lead to spurious results when the camera, for example, dangles freely while it is not in use, and it is often advantageous to update the map only when the shutter-button is in half-press mode. This also extends battery life. In this case, a half-press actuation of the shutter button should not change selected direction of interest with respect to the camera's field of view.
Accordingly, the reader will see that the camera with motion-dependent autofocus shown can be used to set focus points of interest quickly and intuitively, allowing a quicker workflow for photographers, fewer missed shots due to autofocus response time, no focus error due to recomposition, and thus more shots that are perfectly in focus.
Although the description above contains many specificities, these should not be construed as limiting the scope of the embodiments but as merely providing illustrations of some of several embodiments. For example, the rotation sensors may operate on a principle different than microelectromechanical, and the user interface may be a touch screen or another method instead of buttons. The camera may also change other parameters than focus for points of interest selected by pointing the camera and then recomposing; for example, exposure parameters. The camera also need not be an apparatus dedicated primarily to use as a camera. For example, many modern smart mobile telephones are already equipped with cameras, autofocus systems, and rotation sensors, making implementation of some embodiments of the invention possible as a software application on such phones. Although the discussion has been primarily in the context of a still image camera, the same principles are equally useful for a video camera, particularly with continuous focus measurements enabled.
Thus the scope of the embodiments should be determined by the appended claims and their legal equivalents rather than by the examples given.
This application claims priority from my provisional patent application 62/026,701, filed on 20 Jul. 2014, for a Motion-dependent Autofocus, which is hereby incorporated into this application in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
2210090 | Lutz | Aug 1940 | A |
4080531 | Stauffer | Mar 1978 | A |
4236794 | Gordon | Dec 1980 | A |
5128705 | Someya et al. | Jul 1992 | A |
5473403 | Suda et al. | Dec 1995 | A |
5528330 | Utagawa | Jun 1996 | A |
5701524 | Kusaka et al. | Dec 1997 | A |
5740478 | Kobayashi | Apr 1998 | A |
5749000 | Narisawa | May 1998 | A |
5950022 | Hagiwara | Sep 1999 | A |
6148153 | Kusaka et al. | Nov 2000 | A |
6584284 | Odaka | Jun 2003 | B1 |
6614998 | Senba | Sep 2003 | B1 |
6801717 | Hofer | Oct 2004 | B1 |
6812968 | Kermani | Nov 2004 | B1 |
7409149 | Spielberg | Aug 2008 | B2 |
7646972 | Dunko | Jan 2010 | B2 |
7787025 | Sanno | Aug 2010 | B2 |
7791669 | Nonaka | Sep 2010 | B2 |
7844174 | Pickens | Nov 2010 | B2 |
8054366 | Hirai | Nov 2011 | B2 |
8059949 | Mogamiya | Nov 2011 | B2 |
8265475 | Maeda | Sep 2012 | B2 |
8558941 | Nozaki | Nov 2013 | B2 |
8908083 | Brunner | Dec 2014 | B2 |
20070098380 | Spielberg | May 2007 | A1 |
20080079837 | Masubuchi | Apr 2008 | A1 |
20080151096 | Okada | Jun 2008 | A1 |
20080317453 | Yuyama | Dec 2008 | A1 |
20100026821 | Sato | Feb 2010 | A1 |
20100315528 | Goh | Dec 2010 | A1 |
20110115945 | Takano | May 2011 | A1 |
20110267524 | Lee | Nov 2011 | A1 |
20120075492 | Nanu et al. | Mar 2012 | A1 |
20120120277 | Tsai | May 2012 | A1 |
20120237193 | Kawarada | Sep 2012 | A1 |
20120268645 | Chen | Oct 2012 | A1 |
20130169854 | Ge et al. | Jul 2013 | A1 |
20140092272 | Choi | Apr 2014 | A1 |
20140104445 | Ramachandran et al. | Apr 2014 | A1 |
Number | Date | Country |
---|---|---|
2010149763 | Dec 2010 | WO |
Number | Date | Country | |
---|---|---|---|
62026701 | Jul 2014 | US |