How does a camera focus?

User Avatar

Wiki User

โˆ™ 2008-09-25 05:32:18

Best Answer

Autofocus is that great time saver that is found in one form or another on most cameras today. In most cases, it helps improve the quality of the pictures we take.

What is Autofocus?

Autofocus (AF) really could be called power-focus, as it often uses a computer to run a miniature motor that focuses the lens for you. Focusing is the moving of the lens in and out until the sharpest possible image of the subject is projected onto the film. Depending on the distance of the subject from the camera, the lens has to be a certain distance from the film to form a clear image.

In most modern cameras, autofocus is one of a suite of automatic features that work together to make picture-taking as easy as possible. These features include:

Automatic film advance

Automatic flash

Automatic exposure

There are two types of autofocus systems: active and passive. Some cameras may have a combination of both types, depending on the price of the camera. In general, less expensive point-and-shoot cameras use an active system, while more expensive SLR (single-lens reflex) cameras with interchangeable lenses use the passive system.

Active Autofocus

In 1986, the Polaroid Corporation used a form of sound navigation ranging (SONAR), like a submarine uses underwater, to bounce a sound wave off the subject. The Polaroid camera used an ultra-high-frequency sound emitter and then listened for the echo (see How Radar Works for details). The Polaroid Spectra and later SX-70 models computed the amount of time it took for the reflected ultrasonic sound wave to reach the camera and then adjusted the lens position accordingly. This use of sound has its limitations -- for example, if you try taking a picture from inside a tour bus with the windows closed, the sound waves will bounce off of the window instead of the subject and so focus the lens incorrectly.

This Polaroid system is a classic active system. It is called "active" because the camera emits something (in this case, sound waves) in order to detect the distance of the subject from the camera.

Active autofocus on today's cameras uses an infrared signal instead of sound waves, and is great for subjects within 20 feet (6 m) or so of the camera. Infrared systems use a variety of techniques to judge the distance. Typical systems might use:


Amount of infrared light reflected from the subject


For example, this patent describes a system that reflects an infrared pulse of light off the subject and looks at the intensity of the reflected light to judge the distance. Infrared is active because the autofocus system is always sending out invisible infrared light energy in pulses when in focus mode.

It is not hard to imagine a system in which the camera sends out pulses of infrared light just like the Polaroid camera sends out pulses of sound. The subject reflects the invisible infrared light back to the camera, and the camera's microprocessor computes the time difference between the time the outbound infrared light pulses are sent and the inbound infrared pulses are received. Using this difference, the microprocessor circuit tells the focus motor which way to move the lens and how far to move it. This focus process repeats over and over while the camera user presses the shutter release button down half-way. The only difference between this system and the ultrasound system is the speed of the pulse. Ultrasound waves move at hundreds of miles per hour, while infrared waves move at hundreds of thousands of miles per second.

Infrared sensing can have problems. For example:

A source of infrared light from an open flame (birthday cake candles, for instance) can confuse the infrared sensor.

A black subject surface may absorb the outbound infrared beam.

The infrared beam can bounce off of something in front of the subject rather than making it to the subject.

One advantage of an active autofocus system is that it works in the dark, making flash Photography much easier.

On any camera using an infrared system, you can see both the infrared emitter and the receiver on the front of the camera, normally near the viewfinder.

To use infrared focusing effectively, be sure the emitter and the sensor have a clear path to and from your subject, and are not blocked by a nearby fence or bars at a zoo cage. If your subject is not exactly in the middle, the beam can go right past the subject and bounce off an undesired subject in the distance, so be sure the subject is centered. Very bright subjects or bright lights can make it difficult for the camera to "see" the reflected infrared beam -- avoid these subjects when possible.

Passive Autofocus

Passive autofocus, commonly found on single-lens reflex (SLR) autofocus cameras, determines the distance to the subject by computer analysis of the image itself. The camera actually looks at the scene and drives the lens back and forth searching for the best focus.

A typical autofocus sensor is a charge-coupled device (CCD) that provides input to algorithms that compute the contrast of the actual picture elements. The CCD is typically a single strip of 100 or 200 pixels. Light from the scene hits this strip and the microprocessor looks at the values from each pixel.

The microprocessor in the camera looks at the strip of pixels and looks at the difference in intensity among the adjacent pixels. If the scene is out of focus, adjacent pixels have very similar intensities. The microprocessor moves the lens, looks at the CCD's pixels again and sees if the difference in intensity between adjacent pixels improved or got worse. The microprocessor then searches for the point where there is maximum intensity difference between adjacent pixels -- that's the point of best focus. Look at the difference in the pixels in the two red boxes above: In the upper box, the difference in intensity between adjacent pixels is very slight, while in the bottom box it is much greater. That is what the microprocessor is looking for as it drives the lens back and forth.

Passive autofocus must have light and image contrast in order to do its job. The image needs to have some detail in it that provides contrast. If you try to take a picture of a blank wall or a large object of uniform color, the camera cannot compare adjacent pixels so it cannot focus.

There is no distance-to-subject limitation with passive autofocus like there is with the infrared beam of an active autofocus system. Passive autofocus also works fine through a window, since the system "sees" the subject through the window just like you do.

Passive autofocus systems usually react to vertical detail. When you hold the camera in the horizontal position, the passive autofocus system will have a hard time with a boat on the horizon but no problem with a flagpole or any other vertical detail. If you are holding the camera in the usual horizontal mode, focus on the vertical edge of the face. If you are holding the camera in the vertical mode, focus on a horizontal detail.

Newer, more expensive camera designs have combinations of vertical and horizontal sensors to solve this problem. But it's still the camera user's job to keep the camera's sensors from being confused on objects of uniform color.

You can see how much area your camera's autofocus sensors cover by looking through the viewfinder at a small picture or a light switch on a blank wall. Move the camera from left to right and see at which point the autofocus system becomes confused.

Asim Sajjad

User Avatar

Wiki User

โˆ™ 2008-09-25 05:32:18
This answer is:
User Avatar
Study guides

Add your answer:

Earn +20 pts
Q: How does a camera focus?
Write your answer...
Still have questions?
magnify glass
Related questions

What does focus mean in photography?

Focus in photography means this: Focus in photography depends on the type of camera, and lens you use. For example, if you have a film camera, you have to stick with the focus that is provided, but when you have an SLR camera, you can change the focus on the camera it self, or you can get different lenses and focus the image being taken more easily.

Who invented auto focus?

who invented the auto focus camera

How does a camera focus light?

tell me the answer

How do you get a normal camera to focus?

A point and shoot camera can be a fixed focus which does not require focusing as in the single use types. If a camera is not auto focus or fixed focus then you must focus it manually. This is usually done by rotating a part of the lens until the picture is clear in the view viewfinder

What must be done to a film camera to bring an object into focus on the film?

One of two things, and they're the same things that are done to a digital camera to bring objects into focus on the sensor. You can adjust the lens to make it focus at the distance the object is at, or you can move the camera until the object falls into focus. Most people adjust the lens, but if you have a fixed-focus camera like a Diana, you have to move the camera.

What is used to focus light in a camera?


What is a CPU camera lens?

A CPU camera lens has electrical contacts on it. This means that it also has the auto focus option, which is where the lens will focus itself.

What is the best way to focus an m417 camera?

The best way to focus the M417 camera is doing manual focus. Per the sales page for the camera, there has been noted that there is a defect with the auto focus.

How do you focus on Panasonic DMC-FS62?

Apparently it an auto-focus camera. The user cannot focus manually. If you read the specifications (see related link) it has a full list of the camera's features.

Microsoft Lifecam is fuzzy - how can i fix this?

You need to change the focus on the lens. There should be a part around the camera lens that turns, this will change the focus of the camera.

Where does the camera usually focus in a death scene?


How do you control the focus on your camera?

Please be more specific.

People also asked