Questions tagged [autofocus]

Autofocus is the ability of a camera/lens system to automatically adjust the focus of the lens via a motor attached to the focus group of the lens. Contrast with manual focus.

Cameras may auto-focus by either active or passive means:

  • Active autofocus works by separately measuring subject distance (e.g. by laser rangefinding) and adjusting the lens to match.
  • Passive autofocus uses the subject image arriving through the lens to achieve a sharp image.

Active autofocus is now rare on professional and enthusiast bodies, though is making something of a comeback in the low-end, particularly on mobile phone integrated cameras.

There are two main forms of passive autofocus:

  • Contrast detection simply observes the sharpness of (regions of) the image received by a digital sensor, and attempts to maximise it by adjusting the lens, using a guided form of trial and error. This is a common method in cheap compact digital cameras, as it requires no additional hardware - it uses the existing image sensor and processor.
  • Phase detection requires some beam-splitting elements and extra sensors to determine exactly how far from true focus the image is at each sensor. This allows much faster focus acquisition, though limited to only those locations that have focus sensors (contrast detection can work using any region of the image).

The ability of a camera to auto-focus depends greatly on the incident light - bright conditions give an accurate and fast focus, whereas dim conditions frequently give poor results or even a failure to find focus. To help get good focus, many cameras incorporate a light to add extra illumination to the subject during the focusing. This is often known as an AF-assist lamp, or AF-illuminator.

Accurate through-the-lens focusing also depends on the maximum aperture of the lens. Not only does a fast lens admit more light, but it also allows a wider baseline for focus measurement. Note that the programmed aperture is irrelevant, as most cameras use the lens at maximum aperture during focusing, and stop it down for the actual capture.

737 questions
36
votes
3 answers

How does autofocus work?

How does auto focus work on modern cameras? How accurate is it?
Ken
  • 5,078
  • 4
  • 39
  • 56
32
votes
3 answers

What is the advantage of the huge number of AF points?

If the camera has only 1 central AF point, it is difficult to focus on an off-center subject (without recomposing after autofocus) so having 3 AF points seems really useful. Similarly I understand the advantage of having maybe 5 or event 9 AF…
asalamon74
  • 4,573
  • 4
  • 33
  • 44
15
votes
3 answers

How does the lens influence the autofocus?

I think I've more or less understood how AF works now. However, I'm not sure how the lens influences the whole process. In my recent research for my next lens I found reviews stating the one lens' AF is "dead-on" while the other one's "often fails".…
eflorico
  • 2,466
  • 1
  • 22
  • 27
10
votes
3 answers

What causes auto focus to misfocus?

If I understand correctly, autofocus works with contrast detection or phase detection, and both of these systems are in the camera rather than the lens. Surely then, the camera just needs to control the focus motor until its detection system…
hertzsprung
  • 203
  • 1
  • 6
9
votes
2 answers

Are cross-type focus points more accurate, or just faster?

Do cross type focus points achieve sharper photos than horizontal points or do they just grab focus faster?
gordon
  • 93
  • 1
  • 3
9
votes
3 answers

Is there a rating, spec or measurement that a buyer can use to compare how fast cameras can autofocus?

I know that Phase Detection autofocus is faster than Contrast Measurement autofocus. Is there a spec that can tell me whether one DSLR or compact camera can achieve autofocus on a subject faster than another camera? This information should be…
William C
  • 1,524
  • 2
  • 13
  • 19
6
votes
2 answers

How does contrast detection autofocus choose its targets?

If I understand correctly the difference between CDAF and PDAF, CDAF basically does not have knowledge of distance while PDAF does. CDAF simply maximizes contrast. So if that is the case how does it choose which object in the scene to focus on? Is…
erotsppa
  • 3,298
  • 5
  • 32
  • 54
3
votes
1 answer

Focus keeps shifting while recording from a moving bus

We were in a bus moving out of a snow and mountain region, and i was trying to record some sceneries with mobile camera. Camera was set to auto focus mode which generally works well for me but in this case it kept on loosing focus giving some blurry…
Lokesh
  • 459
  • 3
  • 9
2
votes
1 answer

Tamron 70-200 f/2.8 autofocus lagging

I took my lens out to my first gig as I am a local band photographer. I took some photos in auto and most in manual. It seems there's a little lag in the autofocus or am I doing something wrong. I have a Nikon D5300 which is compatible. The…
2
votes
3 answers

Why don't DSLRs use laser rangefinders for autofocus?

I own a simple laser rangefinder for home repairs purposes which is pretty great - it can measure the distance to any object with an astounding accuracy (down to 1cm for distances up to 100m). It's fast, works in any light conditions and doesn't…
JonathanReez
  • 2,976
  • 7
  • 25
  • 54
2
votes
1 answer

How can I optimise and improve my auto focus?

I have a D3100, and have a question about back button focusing. Yesterday I went out with my son to shoot, and I found a lot of my pictures had focus on the wrong part of the image. More than normal. Luckily I took a lot and some were great. I was…
peter
  • 123
  • 6
2
votes
3 answers

Which one is better - more cross-type sensor or better sensitiveness of cross-type sensors?

What makes better sense for situations like: low light, sports/action, wild life? More cross-type sensor on AF (like Canon does) Or more sensitive cross-type sensors (like Nikon does)
Niranjan
  • 447
  • 1
  • 8
  • 18
2
votes
2 answers

In which situtations are cross-type autofocus points better?

I understand that the difference between "regular" autofocus points and cross-type ones is that the latter consist of two diagonal "regular" ones. I also understand that this is better. But what are examples of actual situations in which cross-type…
Lars Kotthoff
  • 581
  • 1
  • 7
  • 17
2
votes
3 answers

Do attachments that block the AF-assist light force you to focus manually?

I'm thinking of getting a cheap macro ring light (something like the Bolt VM-160). At the moment, when I shoot close-up shots, the AF-assist light comes on to help the auto-focus mechanism. It seems clear that many attachments, like this ring light,…
2
votes
1 answer

Autofocus glitches in Nikon menu for Sigma 18-50 f2.8-4.5 lens

I have sold a Sigma 18-50 f2.8-4.5 OS HSM to an internet buyer. The lens worked fine, but after receiving it today, he said that whenever he turns on autofocus on the lens the camera has a glitch in the autofocus area, switching very fast between AF…
coxipus
  • 21
  • 1
1
2