For e.g. an Apple external Firewire iSight does not have hardware autofocus. So how does it focus? Related questions:
- Does it focus to infinity?
- Does that mean it needs a "longer" minimum distance from lens in order for objects to be in focus?
by Garik
Picture of the Week Themes
Suggest and vote on themes
Please participate in Meta
and help us grow.
|
For e.g. an Apple external Firewire iSight does not have hardware autofocus. So how does it focus? Related questions:
|
|||||||||||||||||
|
|
Firstly, the Apple external Firewire iSight was auto focus. So it focused by way of a tiny motor inside that adjusted the lens much like other auto focus lenses. Therefore it probably was a bad example to choose. When you refer to lenses that don't have auto focus, I believe you are talking about fixed focus cameras. To illustrate how both auto focus fixed focus works, first here's a re-cap of the different types of focusing.
|
|||||
|
|
Something that cannot focus simply does not focus. This how most disposable cameras are made. They have a fixed-focus lens where the focus plane is at a certain distance and the aperture is small enough to give a large depth-of-field. With small sensors like in webcams and other tiny cameras, the effect is multiplied because depth-of-field is huge. In other words almost everything is acceptably sharp despite not being in focus. The best way is to focus at the hyperfocal distance which means everything to infinity is sharp enough, starting at some distance before the focus-distance. Some ultra-compact cameras can even fix their focus at the hyperfocal distance. |
|||||||
|
|
The focusing method used by NASA's Curiosity rover currently on Mars is to take several pictures at different focusing distances and compare the size of the resulting jpeg files. By iterating with on-board software until the largest file size is obtained, that image represents the sharpest focus, which in image compression software correlates to a correspondingly large file size needed to hold a given level of detail. While a focusing motor is needed, the determination is done by software in a flash drive--not by firmware. This system can focus from infinity to as close as the motors allow lens extension. Inexpensive web cams can autofocus by using current from a bridge circuit to deflect a spring on which a focusing element is mounted, again using software tests to verify the position of highest contrast or key frame size. The only "motor" in this case is the back and forth deflection of the spring. |
|||||||||||
|
|
Not having a hardware autofocus could simply mean that it lacks autofocus sensors and instead focuses using contrast based methods in software. It also could simply be a fixed focal length. Not sure without looking at details of the specific device. According to Wikipedia, the external firewire version of the iSight has a 50mm to infinity autofocus. If it lacks "hardware autofocus" then it most likely means that there are not dedicated AF sensors in the imaging sensor. This would require a "software focus" where the software would drive the focus in one direction and then the other, looking for the setting that resolves the sharpest image by looking for the highest contrast. It is worth noting that the internal versions of the iSight are fixed focus as described in other answers. |
|||||||||||||
|